* Now hopefully a proper fix for the problem in

http://hydra.nixos.org/build/2645533 (which I can't reproduce btw -
  so much for reproducibility...).

svn path=/nixos/trunk/; revision=34243
This commit is contained in:
Eelco Dolstra 2012-05-25 14:06:46 +00:00
parent d0786fd3e7
commit f81eb12d41

View File

@ -93,7 +93,7 @@ storePaths=$(@perl@/bin/perl @pathsFromGraph@ @nixClosure@)
echo "copying Nix to $mountPoint...." echo "copying Nix to $mountPoint...."
for i in $storePaths; do for i in $storePaths; do
echo " $i" echo " $i"
chattr -R -i $mountPoint/nix/store/$i 2> /dev/null || true # clear immutable bit chattr -R -i $mountPoint/$i 2> /dev/null || true # clear immutable bit
rsync -a $i $mountPoint/nix/store/ rsync -a $i $mountPoint/nix/store/
done done