* Add a statically linked patchelf.
svn path=/nixpkgs/trunk/; revision=6788
This commit is contained in:
parent
54c158cb84
commit
9cfda380c8
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user