3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #146771 from risicle/ris-gimp-darwin

gimp: fix build on darwin
This commit is contained in:
Domen Kožar 2021-11-20 18:43:51 +01:00 committed by GitHub
commit 6f8bd3e634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,6 +148,8 @@ in stdenv.mkDerivation rec {
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
doCheck = !stdenv.isDarwin;
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DGDK_OSX_BIG_SUR=16";
# Check if librsvg was built with --disable-pixbuf-loader.
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";