nixpkgs/pkgs/tools/misc/coreutils-diet/default.nix
Armijn Hemel 3a0ff0b50d add dietlibc'ed coreutils for the NixOS installer...
svn path=/nixpkgs/trunk/; revision=3736
2005-08-28 14:23:30 +00:00

15 lines
376 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";
};
patches = [./coreutils-dummy.patch];
buildInputs = [perl];
NIX_GCC = dietgcc;
NIX_GLIBC_FLAGS_SET=1;
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
}