diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index e2b03778bffa..1a7ed88223b9 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -295,6 +295,7 @@ EOF echo Adding layer tar -tf temp/layer.tar >> baseFiles + sed 's/^\.//' -i baseFiles comm <(sort -n baseFiles|uniq) <(sort -n layerFiles|uniq|grep -v ${layer}) -1 -3 > newFiles tar -rpf temp/layer.tar --no-recursion --files-from newFiles 2>/dev/null || true