we need patchelf

svn path=/nixpkgs/branches/nixos-pkgs/; revision=1824
This commit is contained in:
Armijn Hemel 2004-12-01 14:42:38 +00:00
parent d1d2e2d5c2
commit fbce69c4ac
3 changed files with 7 additions and 2 deletions

View File

@ -23,6 +23,8 @@ rec {
inherit postprocess extra extra2;
};
/*
glibc = derivation {
name = "glibc";
builder = ./bash-static/bash;
@ -37,6 +39,8 @@ rec {
args = [ ./scripts/glibc-build ];
};
*/
coreutils = download {url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/coreutils-5.0-static.tar.gz; pkgname = "coreutils";};
bzip2 = download {url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/bzip2-1.0.2-static.tar.gz; pkgname = "bzip2";};
@ -62,15 +66,14 @@ rec {
linuxHeaders = download {url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/linux-headers-2.4.25-i386.tar.gz; pkgname = "linux-headers";};
/*
glibc = download {
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/glibc-2.3.3-static-2.tar.gz;
pkgname = "glibc";
patchelf = ./patchelf-static/patchelf;
postprocess = ./scripts/add-symlink.sh;
extra = linuxHeaders;
extra2 = coreutils;
};
*/
stdenvInitial = let {

Binary file not shown.

View File

@ -1,2 +1,4 @@
$extra2/bin/chmod u+w $out/include
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
$patchelf --interpreter $out/lib/ld-linux.so.2 *