* Build coreutils on dietlibc.
svn path=/nixpkgs/trunk/; revision=6765
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
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 {}))
|
||||
|
||||
Reference in New Issue
Block a user