summary refs log tree commit diff
path: root/pkgs/development/libraries/gettext
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-03-10 17:38:29 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-03-10 17:38:29 +0100
commitfc15721871776672488c8b2e85424e4ddcf56cd4 (patch)
tree0c8f7a558a9896ec7d5657c64256276367374c26 /pkgs/development/libraries/gettext
parent6fdd92742c0e9a3a48acea90414d782066bbd1b1 (diff)
gettext: fix build on darwin
Hash on Linuxes is unchanged. For details about the error see discussion at:
https://github.com/NixOS/nixpkgs/commit/0ffb98828e87612
Diffstat (limited to 'pkgs/development/libraries/gettext')
-rw-r--r--pkgs/development/libraries/gettext/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix
index 81918b7c5e344..c35f8f3521e22 100644
--- a/pkgs/development/libraries/gettext/default.nix
+++ b/pkgs/development/libraries/gettext/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libiconv, xz }:
+{ stdenv, fetchurl, libiconv, libintlOrEmpty, xz }:
 
 stdenv.mkDerivation (rec {
   name = "gettext-0.18.2";
@@ -30,7 +30,8 @@ stdenv.mkDerivation (rec {
     fi
   '';
 
-  buildInputs = [ xz ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
+  buildInputs = [ xz ]
+    ++ libintlOrEmpty ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
 
   enableParallelBuilding = true;