mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
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:
1 parent
6b172212b6
commit
916506443e
1 file changed
+1
-1
@@ -144,7 +144,7 @@ let
|
|||||||
# (nix refuses symlinks in store path hierarchy)
|
# (nix refuses symlinks in store path hierarchy)
|
||||||
rootMountPoint=$(realpath ${lib.escapeShellArg systemToInstall.config.disko.rootMountPoint})
|
rootMountPoint=$(realpath ${lib.escapeShellArg systemToInstall.config.disko.rootMountPoint})
|
||||||
# populate nix db, so nixos-install doesn't complain
|
# 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"
|
nix-store --load-db < "${closureInfo}/registration"
|
||||||
|
|
||||||
# We copy files with cp because `nix copy` has a large memory leak.
|
# We copy files with cp because `nix copy` has a large memory leak.
|
||||||
|
|||||||
Reference in new issue
Block a user