static diffutils for initial stdenv

svn path=/nixpkgs/trunk/; revision=4445
This commit is contained in:
Armijn Hemel 2005-12-27 10:39:20 +00:00
parent abcfd1bce5
commit 796636040a
2 changed files with 16 additions and 0 deletions

View file

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

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, coreutils ? null, dietgcc}:
stdenv.mkDerivation {
name = "diffutils-2.8.1";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/diffutils-2.8.1.tar.gz;
md5 = "71f9c5ae19b60608f6c7f162da86a428";
};
/* If no explicit coreutils is given, use the one from stdenv. */
inherit coreutils;
NIX_GCC=dietgcc;
}