diff options
author | John Axel Eriksson <john@insane.se> | 2022-01-15 10:20:18 +0100 |
---|---|---|
committer | John Axel Eriksson <john@insane.se> | 2022-01-15 10:20:18 +0100 |
commit | 3fff0196cdf0859ee16c719fdc51084a414c8a4d (patch) | |
tree | e6c20c9a1185a4d5d5305381c77f9ff0159516be /docker.nix | |
parent | 34f2eebd5be06658c04aa7846753d5de124d7195 (diff) |
docker: also create var/tmp as some tools rely on it
Diffstat (limited to 'docker.nix')
-rw-r--r-- | docker.nix | 3 |
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 = { |