only nuke references to glibc in the statically linked binaries, not the
references to perl, nix, and so on in the scripts. TODO: statically link the bzip2/bunzip2/etc. tools in $nix/libexec svn path=/nixpkgs/trunk/; revision=6018
This commit is contained in:
parent
2f5ec262a8
commit
db8288bf5b
@ -15,7 +15,7 @@ postInstall() {
|
|||||||
cd $out/bin
|
cd $out/bin
|
||||||
|
|
||||||
find . -type f | while read fn; do
|
find . -type f | while read fn; do
|
||||||
cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
|
cat $fn | sed "s|/nix/store/[a-z0-9]*-glibc|/nix/store/ffffffffffffffffffffffffffffffff-glibc|g" > $fn.tmp
|
||||||
if test -x $fn; then chmod +x $fn.tmp; fi
|
if test -x $fn; then chmod +x $fn.tmp; fi
|
||||||
mv $fn.tmp $fn
|
mv $fn.tmp $fn
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user