docker: also create var/tmp as some tools rely on it

This commit is contained in:
John Axel Eriksson 2022-01-15 10:20:18 +01:00
parent 34f2eebd5b
commit 3fff0196cd

View file

@ -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 = {