Skip to content

Commit

Permalink
dockerTools.buildImage: do not add /nix/store in the tar stream
Browse files Browse the repository at this point in the history
Since the /nix/store directory is not immutable, tar can fails if it
has to push it into the layer archive.

Fixes #34137.
  • Loading branch information
nlewo authored and Profpatsch committed Feb 14, 2018
1 parent 1545f90 commit ce838e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkgs/build-support/docker/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit ce838e5

Please sign in to comment.