mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14: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 ''
|
installer = lib.optionalString cfg.copyNixStore ''
|
||||||
${binfmtSetup}
|
${binfmtSetup}
|
||||||
|
unset NIX_REMOTE
|
||||||
# populate nix db, so nixos-install doesn't complain
|
# populate nix db, so nixos-install doesn't complain
|
||||||
export NIX_STATE_DIR=${systemToInstall.config.disko.rootMountPoint}/nix/var/nix
|
export NIX_STATE_DIR=${systemToInstall.config.disko.rootMountPoint}/nix/var/nix
|
||||||
nix-store --load-db < "${closureInfo}/registration"
|
nix-store --load-db < "${closureInfo}/registration"
|
||||||
|
|||||||
Reference in new issue
Block a user