From f8f4f4af3351ed2d2418a61150067671ce8772dd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Dec 2011 10:26:44 +0000 Subject: [PATCH] * gnugrep needs xz to unpack its sources. svn path=/nixpkgs/branches/stdenv-updates/; revision=30879 --- pkgs/tools/text/gnugrep/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 2f9cdb2919f..957b70f1e58 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pcre, libiconv ? null}: +{ stdenv, fetchurl, pcre, libiconv ? null, xz }: let version = "2.10"; in @@ -10,7 +10,7 @@ stdenv.mkDerivation ({ sha256 = "1cvsqyfzk1p38fcaav22dn76fkd02g7bjnqna6vrpk9vy9rnfybc"; }; - buildInputs = [ pcre ] + buildInputs = [ pcre xz ] ++ (stdenv.lib.optional (libiconv != null) libiconv); doCheck = if stdenv.isDarwin then false else true;