nixpkgs/pkgs/tools/misc/coreutils/default.nix
Eelco Dolstra ce22859f8a * Bash on dietlibc.
* Pass -D_BSD_SOURCE=1 by default in the dietlibc stdenv.

svn path=/nixpkgs/trunk/; revision=6768
2006-10-18 16:16:07 +00:00

12 lines
286 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation ({
name = "coreutils-5.97";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/coreutils-5.97.tar.gz;
md5 = "bdec4b75c76ac9bf51b6dd1747d3b06e";
};
} // (if stdenv ? isDietLibC then {
patches = [./uclibc.patch];
} else {}))