diff options
author | Antoine Eiche <lewo@abesis.fr> | 2018-02-13 10:44:59 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-02-14 06:40:41 +0100 |
commit | ce838e52b94f64a43b02fbcd0ed6b348b2f56e33 (patch) | |
tree | 70649b5c8833443a12e1919f45b934c318f5be73 | |
parent | 1545f9062e3252b3001bdb04eaf48d46eb53d041 (diff) | |
download | nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar.gz nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar.bz2 nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar.lz nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar.xz nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.tar.zst nixlib-ce838e52b94f64a43b02fbcd0ed6b348b2f56e33.zip |
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.
-rw-r--r-- | pkgs/build-support/docker/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 68b803f6e3cc..c40b096e2088 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -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 |