3
0
Fork 0
forked from mirrors/nixpkgs

nuke references to glibc...this should become a generic function somewhere...

svn path=/nixpkgs/trunk/; revision=6017
This commit is contained in:
Armijn Hemel 2006-08-02 10:52:32 +00:00
parent aefc9586ec
commit 2f5ec262a8

View file

@ -11,4 +11,16 @@ preConfigure() {
preConfigure=preConfigure
postInstall() {
cd $out/bin
find . -type f | while read fn; do
cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
if test -x $fn; then chmod +x $fn.tmp; fi
mv $fn.tmp $fn
done
}
postInstall=postInstall
genericBuild