diff options
author | Robert Scott <code@humanleg.org.uk> | 2021-11-20 16:48:52 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2021-11-20 16:48:52 +0000 |
commit | 67c0df93ead69f20418853fdbd1356671e869ed6 (patch) | |
tree | cea928f205e2c5acc716be6f177f925b95dc29a9 /pkgs/applications/graphics/gimp/default.nix | |
parent | bc9a53bb2fa0091fe5ae9ab7af4f61f665922c90 (diff) | |
download | nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar.gz nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar.bz2 nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar.lz nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar.xz nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.tar.zst nixpkgs-67c0df93ead69f20418853fdbd1356671e869ed6.zip |
gimp: fix build on darwin
despite us currently having a gtk2 without `GDK_OSX_BIGSUR` defined, gimp have gone and spelt it `GDK_OSX_BIG_SUR` so define this manually anyway
Diffstat (limited to 'pkgs/applications/graphics/gimp/default.nix')
-rw-r--r-- | pkgs/applications/graphics/gimp/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index 86550b87371..11a9382c94c 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -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}"; |