gimp: build on Darwin

+3 -2
+3 -2
pkgs/applications/graphics/gimp/2.8.nix
··· 28 #configureFlags = [ "--disable-print" ]; 29 30 # "screenshot" needs this. 31 - NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib"; 32 33 meta = { 34 description = "The GNU Image Manipulation Program"; 35 homepage = http://www.gimp.org/; 36 license = stdenv.lib.licenses.gpl3Plus; 37 - platforms = stdenv.lib.platforms.linux; 38 }; 39 }
··· 28 #configureFlags = [ "--disable-print" ]; 29 30 # "screenshot" needs this. 31 + NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib" 32 + + stdenv.lib.optionalString stdenv.isDarwin " -lintl"; 33 34 meta = { 35 description = "The GNU Image Manipulation Program"; 36 homepage = http://www.gimp.org/; 37 license = stdenv.lib.licenses.gpl3Plus; 38 + platforms = stdenv.lib.platforms.unix; 39 }; 40 }