16 lines
408 B
Nix
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];
|
||
|
}
|