From 8efaa95b6d00aae2edb87ca9df6fa8fbb9fe228b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 19 Dec 2025 13:15:41 +0000 Subject: [PATCH] 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. --- lib/make-disk-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/make-disk-image.nix b/lib/make-disk-image.nix index d14c655..d1d8ba0 100644 --- a/lib/make-disk-image.nix +++ b/lib/make-disk-image.nix @@ -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.