mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
diskoImagesScript: unset NIX_REMOTE
for some reason this is set and breaks running disko outside of the vm
This commit is contained in:
1 parent
aba0ae38df
commit
c7e0b00007
1 file changed
+1
@@ -136,6 +136,7 @@ let
|
||||
|
||||
installer = lib.optionalString cfg.copyNixStore ''
|
||||
${binfmtSetup}
|
||||
unset NIX_REMOTE
|
||||
# populate nix db, so nixos-install doesn't complain
|
||||
export NIX_STATE_DIR=${systemToInstall.config.disko.rootMountPoint}/nix/var/nix
|
||||
nix-store --load-db < "${closureInfo}/registration"
|
||||
|
||||
Reference in new issue
Block a user