From 19c5b4307d2b21511e625b2032ae3356679ded17 Mon Sep 17 00:00:00 2001 From: Tim Windelschmidt Date: Mon, 9 Oct 2023 22:15:41 +0200 Subject: [PATCH] dockerTools: create /tmp in rootLayer --- pkgs/build-support/docker/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 1ac0a69f7451..70fd3635b745 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -446,7 +446,7 @@ rec { ''; postMount = '' - mkdir -p mnt/{dev,proc,sys} mnt${storeDir} + mkdir -p mnt/{dev,proc,sys,tmp} mnt${storeDir} # Mount /dev, /sys and the nix store as shared folders. mount --rbind /dev mnt/dev