we need patchelf
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1824
This commit is contained in:
parent
d1d2e2d5c2
commit
fbce69c4ac
@ -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 {
|
||||
|
||||
|
BIN
pkgs/stdenv/nix-linux-static/patchelf-static/patchelf
Executable file
BIN
pkgs/stdenv/nix-linux-static/patchelf-static/patchelf
Executable file
Binary file not shown.
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user