From 7f5431f09588ed2c0e4c766c0d23d3cbeb3bf06d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 10 Nov 2010 07:45:41 +0000 Subject: gnugrep: trying to fix darwin builds svn path=/nixpkgs/branches/stdenv-updates/; revision=24634 --- pkgs/tools/text/gnugrep/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/text') 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 {}) ) -- cgit 1.4.1