about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/klibc/default.nix
blob: d016759e7747c87178cc7906bc29c6375d4cdc8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, fetchurl, perl, bison, mktemp, kernel}:

assert stdenv.isLinux;

stdenv.mkDerivation {
  name = "klibc-1.4";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://www.kernel.org/pub/linux/libs/klibc/klibc-1.4.tar.bz2;
    md5 = "f4e0e17fc660e59c39e448fe1d827d36";
  };
  inherit kernel;
  buildInputs = [perl bison mktemp];
  patches = [./install.patch];
}