summary refs log tree commit diff
path: root/pkgs/os-specific/linux/klibc/default.nix
blob: 79c1952c9d34eb4f2323cb9c7769531ac1762cb9 (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.5";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://www.nl.kernel.org/pub/linux/libs/klibc/klibc-1.5.tar.bz2;
    sha256 = "1izhf8kscjymsvsvhcqw9awnmp94vwv70zdj09srg9bkpjj0n017";
  };
  inherit kernel;
  buildInputs = [perl bison mktemp];
  patches = [./install.patch];
}