* Purity fixes, courtesy of NixOS :-)
svn path=/nixpkgs/trunk/; revision=3675
This commit is contained in:
parent
9a4f2b9036
commit
49220563df
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
set -e
|
||||
|
||||
PATH=$coreutils/bin
|
||||
PATH=$staticTools/bin
|
||||
|
||||
mkdir $out
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ cd $out
|
|||
chmod -R +w .
|
||||
|
||||
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
|
||||
mv $fn.tmp $fn
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue