File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 46
46
util-linux
47
47
findutils
48
48
kmod
49
+ xcp
49
50
] ++ cfg . extraDependencies ;
50
51
preVM = ''
51
52
# shellcheck disable=SC2154
93
94
94
95
# We copy files with cp because `nix copy` seems to have a large memory leak
95
96
mkdir -p ${ systemToInstall . config . disko . rootMountPoint } /nix/store
96
- time xargs cp --recursive --target ${ systemToInstall . config . disko . rootMountPoint } /nix/store < ${ closureInfo } /store-paths
97
+ xargs xcp --recursive --target-directory ${ systemToInstall . config . disko . rootMountPoint } /nix/store < ${ closureInfo } /store-paths
97
98
98
99
${ 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 ""
99
100
umount -Rv ${ systemToInstall . config . disko . rootMountPoint }
You can’t perform that action at this time.
0 commit comments