2005-08-28 16:23:30 +02:00
|
|
|
{stdenv, fetchurl, dietgcc, perl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2005-11-07 00:57:54 +01:00
|
|
|
name = "coreutils-diet-5.2.1";
|
2005-08-28 16:23:30 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.2.1.tar.bz2;
|
|
|
|
md5 = "172ee3c315af93d3385ddfbeb843c53f";
|
|
|
|
};
|
2005-08-28 16:29:32 +02:00
|
|
|
# patch from
|
|
|
|
# http://invaders.mars-attacks.org/~boklm/browse/doc/srs2005/alink/files/patch-coreutils-5.2.1-alink0.1.diff
|
2005-08-28 16:23:30 +02:00
|
|
|
patches = [./coreutils-dummy.patch];
|
|
|
|
buildInputs = [perl];
|
|
|
|
NIX_GCC = dietgcc;
|
|
|
|
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
|
|
|
|
}
|