* Purity fixes, courtesy of NixOS :-)
svn path=/nixpkgs/trunk/; revision=3675
This commit is contained in:
parent
9a4f2b9036
commit
49220563df
@ -1,6 +1,6 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
PATH=$coreutils/bin
|
PATH=$staticTools/bin
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ cd $out
|
|||||||
chmod -R +w .
|
chmod -R +w .
|
||||||
|
|
||||||
find . -type f | while read fn; do
|
find . -type f | while read fn; do
|
||||||
$extra2/bin/cat $fn | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
|
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
|
if test -x $fn; then chmod +x $fn.tmp; fi
|
||||||
mv $fn.tmp $fn
|
mv $fn.tmp $fn
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user