* Prevent a retained dependency on coreutils from stdenv.

svn path=/nixpkgs/trunk/; revision=1435
This commit is contained in:
Eelco Dolstra 2004-09-18 17:06:06 +00:00
parent d97dd79895
commit 6dc5ad8a2d
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,3 @@
. $stdenv/setup
if test -n "$coreutils"; then PATH=$coreutils/bin:$PATH; fi
genericBuild

View file

@ -1,9 +1,12 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, coreutils ? null}:
stdenv.mkDerivation {
name = "diffutils-2.8.1";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz;
md5 = "71f9c5ae19b60608f6c7f162da86a428";
};
/* If no explicit coreutils is given, use the one from stdenv. */
inherit coreutils;
}