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:
Badi Abdul-Wahid 2020-06-03 11:14:46 -05:00 committed by zimbatm
parent 9f6b62f45b
commit 0f24a9c94a
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -42,6 +42,9 @@ let
# make sure /tmp exists
mkdir -m 1777 tmp
# need a HOME
mkdir -vp root
'';
config = {