mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
dockerTools.buildImage: do not add /nix/store in the tar stream
Since the /nix/store directory is not immutable, tar can fails if it has to push it into the layer archive. Fixes #34137.
This commit is contained in:
parent
1545f9062e
commit
ce838e52b9
@ -476,8 +476,6 @@ rec {
|
||||
cp ${layer}/* temp/
|
||||
chmod ug+w temp/*
|
||||
|
||||
echo "$(dirname ${storeDir})" >> layerFiles
|
||||
echo '${storeDir}' >> layerFiles
|
||||
for dep in $(cat $layerClosure); do
|
||||
find $dep >> layerFiles
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user