mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
dockerTools: fix /nix/store permissions
This commit is contained in:
parent
12e919bb34
commit
4d200538c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user