images/nix: make sure /root exists
some external uses of the final image (eg drone) assume that $HOME exists and attempt to write to it.
This commit is contained in:
parent
9f6b62f45b
commit
0f24a9c94a
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ let
|
|||
|
||||
# make sure /tmp exists
|
||||
mkdir -m 1777 tmp
|
||||
|
||||
# need a HOME
|
||||
mkdir -vp root
|
||||
'';
|
||||
|
||||
config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue