mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
25 lines
640 B
Nix
25 lines
640 B
Nix
{stdenv, fetchurl, kernelHeaders, patch}:
|
|
|
|
assert patch != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "glibc-2.3.2";
|
|
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 kernelHeaders;
|
|
}
|