mirror of
https://github.com/nix-community/disko.git
synced 2026-01-14 02:08:26 +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:
parent
3be6dfbaca
commit
8efaa95b6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue