about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc/default.nix
blob: c65281a7ce3afe3f0da2924ee665e426fbf1f117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, fetchurl, kernelHeaders, patch}:

assert patch != null;

derivation {
  name = "glibc-2.3.2";
  system = stdenv.system;
  builder = ./builder.sh;

  src = fetchurl {
    url = ftp://ftp.nl.net/pub/gnu/glibc/glibc-2.3.2.tar.bz2;
    md5 = "ede969aad568f48083e413384f20753c";
  };
  linuxthreadsSrc = fetchurl {
    url = ftp://ftp.nl.net/pub/gnu/glibc/glibc-linuxthreads-2.3.2.tar.bz2;
    md5 = "894b8969cfbdf787c73e139782167607";
  };

  # This is a patch to make glibc compile under GCC 3.3.  Presumably
  # later releases of glibc won't need this.
  patches = [./glibc-2.3.2-sscanf-1.patch];

  buildInputs = [patch];
  inherit stdenv kernelHeaders;
}