docker.nix: set correct permissions on /tmp

This commit is contained in:
Wolfgang Thaller 2022-01-01 16:47:05 +01:00
parent ed3bc63666
commit d9aabb7acb

View file

@ -232,6 +232,9 @@ pkgs.dockerTools.buildLayeredImageWithNixDb {
rm -rf nix-support rm -rf nix-support
ln -s /nix/var/nix/profiles nix/var/nix/gcroots/profiles ln -s /nix/var/nix/profiles nix/var/nix/gcroots/profiles
''; '';
fakeRootCommands = ''
chmod 1777 tmp
'';
config = { config = {
Cmd = [ "/root/.nix-profile/bin/bash" ]; Cmd = [ "/root/.nix-profile/bin/bash" ];