1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

* 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 { stdenv.mkDerivation {
name = "diffutils-2.8.1"; name = "diffutils-2.8.1";
builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz; url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz;
md5 = "71f9c5ae19b60608f6c7f162da86a428"; md5 = "71f9c5ae19b60608f6c7f162da86a428";
}; };
/* If no explicit coreutils is given, use the one from stdenv. */
inherit coreutils;
} }