6ff020ad3a
svn path=/nixpkgs/trunk/; revision=6765
13 lines
326 B
Nix
13 lines
326 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 {
|
|
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
|
|
patches = [./uclibc.patch];
|
|
} else {}))
|