aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Thaller <wolfgang.thaller@gmx.net>2022-01-01 16:47:05 +0100
committerWolfgang Thaller <wolfgang.thaller@gmx.net>2022-01-01 16:47:05 +0100
commitd9aabb7acb4d697d4ba9527326602cf3abe77590 (patch)
treebe85385f9c7add30c0b49da3501771bd9f5c996f
parented3bc63666732bdc0724f2e53c14935a9f0f6fe7 (diff)
docker.nix: set correct permissions on /tmp
-rw-r--r--docker.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix
index 25930bb87..bfccdb8f5 100644
--- a/docker.nix
+++ b/docker.nix
@@ -232,6 +232,9 @@ pkgs.dockerTools.buildLayeredImageWithNixDb {
rm -rf nix-support
ln -s /nix/var/nix/profiles nix/var/nix/gcroots/profiles
'';
+ fakeRootCommands = ''
+ chmod 1777 tmp
+ '';
config = {
Cmd = [ "/root/.nix-profile/bin/bash" ];