3
0
Fork 0
forked from mirrors/nixpkgs

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; inherit postprocess extra extra2;
}; };
/*
glibc = derivation { glibc = derivation {
name = "glibc"; name = "glibc";
builder = ./bash-static/bash; builder = ./bash-static/bash;
@ -37,6 +39,8 @@ rec {
args = [ ./scripts/glibc-build ]; args = [ ./scripts/glibc-build ];
}; };
*/
coreutils = download {url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/coreutils-5.0-static.tar.gz; pkgname = "coreutils";}; 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";}; 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";}; 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 { glibc = download {
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/glibc-2.3.3-static-2.tar.gz; url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/glibc-2.3.3-static-2.tar.gz;
pkgname = "glibc"; pkgname = "glibc";
patchelf = ./patchelf-static/patchelf;
postprocess = ./scripts/add-symlink.sh; postprocess = ./scripts/add-symlink.sh;
extra = linuxHeaders; extra = linuxHeaders;
extra2 = coreutils; extra2 = coreutils;
}; };
*/
stdenvInitial = let { stdenvInitial = let {

Binary file not shown.

View file

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