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 92
92
util-linux
93
93
findutils
94
94
kmod
95
+ xcp
95
96
]
96
97
++ cfg . extraDependencies ;
97
98
preVM = ''
143
144
144
145
# We copy files with cp because `nix copy` seems to have a large memory leak
145
146
mkdir -p ${ systemToInstall . config . disko . rootMountPoint } /nix/store
146
- time xargs cp --recursive --target ${ systemToInstall . config . disko . rootMountPoint } /nix/store < ${ closureInfo } /store-paths
147
+ xargs xcp --recursive --target-directory ${ systemToInstall . config . disko . rootMountPoint } /nix/store < ${ closureInfo } /store-paths
147
148
148
149
${ 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 ""
149
150
umount -Rv ${ lib . escapeShellArg systemToInstall . config . disko . rootMountPoint }
You can’t perform that action at this time.
0 commit comments