nixpkgs/pkgs/tools/misc/coreutils-diet/default.nix
Armijn Hemel 51492eb656 add place where I ripped the original patch (partially) from
svn path=/nixpkgs/trunk/; revision=3737
2005-08-28 14:29:32 +00:00

16 lines
502 B
Nix

{stdenv, fetchurl, dietgcc, perl}:
stdenv.mkDerivation {
name = "coreutils-5.2.1";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.2.1.tar.bz2;
md5 = "172ee3c315af93d3385ddfbeb843c53f";
};
# patch from
# http://invaders.mars-attacks.org/~boklm/browse/doc/srs2005/alink/files/patch-coreutils-5.2.1-alink0.1.diff
patches = [./coreutils-dummy.patch];
buildInputs = [perl];
NIX_GCC = dietgcc;
NIX_GLIBC_FLAGS_SET=1;
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
}