Merge pull request #6791 from edolstra/fix-installer

Fix --no-daemon installation
This commit is contained in:
Eelco Dolstra
2022-07-12 17:00:38 +02:00
committed by GitHub
+3 -1
View File
@@ -148,7 +148,9 @@ if ! [ -w "$dest" ]; then
exit 1
fi
mkdir -p "$dest/store"
# The auto-chroot code in openFromNonUri() checks for the
# non-existence of /nix/var/nix, so we need to create it here.
mkdir -p "$dest/store" "$dest/var/nix"
printf "copying Nix to %s..." "${dest}/store" >&2
# Insert a newline if no progress is shown.