mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
check for db.sqlite rather than /nix/store
since we initialize the database last, it's safe to use the database as a sentinel path
This commit is contained in:
1 parent
98894c8598
commit
22cd4b7e49
2 files changed
+2
-2
No files matched your search
@@ -93,7 +93,7 @@ let
|
||||
|
||||
# We copy files with cp because `nix copy` seems to have a large memory leak
|
||||
mkdir -p ${systemToInstall.config.disko.rootMountPoint}/nix/store
|
||||
xargs cp --recursive --target ${systemToInstall.config.disko.rootMountPoint}/nix/store < ${closureInfo}/store-paths
|
||||
time xargs cp --recursive --target ${systemToInstall.config.disko.rootMountPoint}/nix/store < ${closureInfo}/store-paths
|
||||
|
||||
${systemToInstall.config.system.build.nixos-install}/bin/nixos-install --root ${systemToInstall.config.disko.rootMountPoint} --system ${systemToInstall.config.system.build.toplevel} --keep-going --no-channel-copy -v --no-root-password --option binary-caches ""
|
||||
umount -Rv ${systemToInstall.config.disko.rootMountPoint}
|
||||
|
||||
Reference in new issue
Block a user