dockerTools: fix /nix/store permissions

This commit is contained in:
Luca Bruno 2016-04-13 23:54:33 +02:00
parent 12e919bb34
commit 4d200538c2

View File

@ -286,7 +286,9 @@ EOF
cp ${layer}/* temp/
chmod ug+w temp/*
touch layerFiles
# FIXME: might not be /nix/store
echo '/nix' >> layerFiles
echo '/nix/store' >> layerFiles
for dep in $(cat $layerClosure); do
find $dep >> layerFiles
done