Merge pull request #260063 from fionera/issue-257172

dockerTools: create /tmp in rootLayer
This commit is contained in:
Silvan Mosberger 2023-10-10 16:51:45 +02:00 committed by GitHub
commit 71059c8f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ rec {
'';
postMount = ''
mkdir -p mnt/{dev,proc,sys} mnt${storeDir}
mkdir -p mnt/{dev,proc,sys,tmp} mnt${storeDir}
# Mount /dev, /sys and the nix store as shared folders.
mount --rbind /dev mnt/dev