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.

authored by Antoine Eiche and committed by Profpatsch ce838e52 1545f906

-2
-2
pkgs/build-support/docker/default.nix
··· 476 476 cp ${layer}/* temp/ 477 477 chmod ug+w temp/* 478 478 479 - echo "$(dirname ${storeDir})" >> layerFiles 480 - echo '${storeDir}' >> layerFiles 481 479 for dep in $(cat $layerClosure); do 482 480 find $dep >> layerFiles 483 481 done