diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-11-10 07:45:41 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-11-10 07:45:41 +0000 |
commit | 7f5431f09588ed2c0e4c766c0d23d3cbeb3bf06d (patch) | |
tree | 47d88ef93b3be0c260172f9b1d3f2e7ded49bad6 /pkgs/tools/text | |
parent | 42c658249102808f2a4508b6f12db0c0af421abb (diff) |
gnugrep: trying to fix darwin builds
svn path=/nixpkgs/branches/stdenv-updates/; revision=24634
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/gnugrep/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 36012dc6f507b..f06be1b7336eb 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -2,7 +2,7 @@ let version = "2.7"; in -stdenv.mkDerivation { +stdenv.mkDerivation ({ name = "gnugrep-${version}"; src = fetchurl { @@ -38,4 +38,4 @@ stdenv.mkDerivation { }; passthru = {inherit pcre;}; -} +} // (if libiconv != null then { NIX_LDFLAGS="-L${libiconv}/lib -liconv"; } else {}) ) |