nixpkgs/pkgs/os-specific/linux/klibc/default.nix
Armijn Hemel a816f506a2 add klibc
svn path=/nixpkgs/trunk/; revision=3723
2005-08-27 20:48:05 +00:00

16 lines
408 B
Nix

{stdenv, fetchurl, kernel, perl, bison, flexWrapper}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "klibc-1.0";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.kernel.org/pub/linux/libs/klibc/klibc-1.0.tar.bz2;
md5 = "daaa233fb7905cbe110896fcad9bec7f";
};
inherit kernel;
buildInputs = [perl bison flexWrapper];
patches = [./klibc-installpath.patch];
}