make-disk-image: quote $rootMountPoint for consistency

All other usages of $rootMountPoint in this file are quoted, so apply
the same style here for readability.
This commit is contained in:
Jörg Thalheim 2025-12-19 13:15:41 +00:00
parent 3be6dfbaca
commit 8efaa95b6d

View file

@ -144,7 +144,7 @@ let
# (nix refuses symlinks in store path hierarchy)
rootMountPoint=$(realpath ${lib.escapeShellArg systemToInstall.config.disko.rootMountPoint})
# populate nix db, so nixos-install doesn't complain
export NIX_STATE_DIR=$rootMountPoint/nix/var/nix
export NIX_STATE_DIR="$rootMountPoint"/nix/var/nix
nix-store --load-db < "${closureInfo}/registration"
# We copy files with cp because `nix copy` has a large memory leak.