summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc/default.nix
blob: 6106e92812f7d3d674108f94b7507935c1625710 (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
{stdenv, fetchurl, kernelHeaders, patch}:

assert patch != null;

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

  glibcSrc = 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.
  vaargsPatch = ./glibc-2.3.2-sscanf-1.patch;

  inherit stdenv kernelHeaders patch;
}