Skip to content

Commit ce838e5

Browse files
nlewoProfpatsch
authored andcommittedFeb 14, 2018
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.
1 parent 1545f90 commit ce838e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎pkgs/build-support/docker/default.nix

-2
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@ rec {
476476
cp ${layer}/* temp/
477477
chmod ug+w temp/*
478478
479-
echo "$(dirname ${storeDir})" >> layerFiles
480-
echo '${storeDir}' >> layerFiles
481479
for dep in $(cat $layerClosure); do
482480
find $dep >> layerFiles
483481
done

0 commit comments

Comments
 (0)
Please sign in to comment.