* Add a statically linked patchelf.

svn path=/nixpkgs/trunk/; revision=6788
This commit is contained in:
Eelco Dolstra 2006-10-20 11:50:08 +00:00
parent 54c158cb84
commit 9cfda380c8
2 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,11 @@ let
curl = pkgsDiet.realCurl;
patchelf = import ../../development/tools/misc/patchelf/new.nix {
inherit (pkgs) fetchurl;
stdenv = pkgs.makeStaticBinaries pkgs.stdenv;
};
# The result should not contain any references (store paths) so
# that we can safely copy them out of the store and to other
# locations in the store.

View File

@ -43,10 +43,12 @@ cp $gnutar/bin/* tools/bin
cp $gunzip/bin/gunzip tools/bin
cp $bzip2/bin/bunzip2 tools/bin
cp $patch/bin/* tools/bin
cp $patchelf/bin/* tools/bin
nukeRefs tools/bin/sed
nukeRefs tools/bin/tar
nukeRefs tools/bin/grep
nukeRefs tools/bin/patchelf
#cp $patchelf/bin/* tools/bin