aboutsummaryrefslogtreecommitdiff
path: root/docker.nix
diff options
context:
space:
mode:
Diffstat (limited to 'docker.nix')
-rw-r--r--docker.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix
index ca5d90635..0e29d0e0b 100644
--- a/docker.nix
+++ b/docker.nix
@@ -201,6 +201,8 @@ let
mkdir $out/tmp
+ mkdir $out/var/tmp
+
mkdir -p $out/etc/nix
cat $nixConfContentsPath > $out/etc/nix/nix.conf
@@ -236,6 +238,7 @@ pkgs.dockerTools.buildLayeredImageWithNixDb {
'';
fakeRootCommands = ''
chmod 1777 tmp
+ chmod 1777 var/tmp
'';
config = {