summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-04-01 16:44:17 -0400
committerSpencer Whitt <sw@swhitt.me>2015-04-01 19:25:06 -0400
commit2b79ac63398f2eca452ad5d39482f5c16efe4515 (patch)
tree319763d72c755a6012bfe0b4c24c504fa1047164 /pkgs/applications/graphics/gimp
parent1155bb97f851a4583fe3da93e6f1192f85cc2c3c (diff)
downloadnixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar.gz
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar.bz2
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar.lz
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar.xz
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.tar.zst
nixlib-2b79ac63398f2eca452ad5d39482f5c16efe4515.zip
gimp: build on Darwin
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/2.8.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gimp/2.8.nix b/pkgs/applications/graphics/gimp/2.8.nix
index 9f7643ad1c04..83f409457fbb 100644
--- a/pkgs/applications/graphics/gimp/2.8.nix
+++ b/pkgs/applications/graphics/gimp/2.8.nix
@@ -28,12 +28,13 @@ stdenv.mkDerivation rec {
   #configureFlags = [ "--disable-print" ];
 
   # "screenshot" needs this.
-  NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
+  NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib"
+    + stdenv.lib.optionalString stdenv.isDarwin " -lintl";
 
   meta = {
     description = "The GNU Image Manipulation Program";
     homepage = http://www.gimp.org/;
     license = stdenv.lib.licenses.gpl3Plus;
-    platforms = stdenv.lib.platforms.linux;
+    platforms = stdenv.lib.platforms.unix;
   };
 }