We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 878ec37 commit a58e3a1Copy full SHA for a58e3a1
lib/make-disk-image.nix
@@ -95,6 +95,7 @@ let
95
util-linux
96
findutils
97
kmod
98
+ nocache
99
]
100
++ cfg.extraDependencies;
101
preVM = ''
@@ -165,7 +166,7 @@ let
165
166
P=${toString cfg.copyNixStoreThreads}
167
''
168
}
- xargs -P "$P" -I {} cp --recursive {} "$rootMountPoint"/nix/store < ${closureInfo}/store-paths
169
+ xargs -P "$P" -I {} nocache cp --recursive {} "$rootMountPoint"/nix/store < ${closureInfo}/store-paths
170
171
${systemToInstall.config.system.build.nixos-install}/bin/nixos-install --root "$rootMountPoint" --system ${systemToInstall.config.system.build.toplevel} --keep-going --no-channel-copy -v --no-root-password --option binary-caches ""
172
umount -Rv "$rootMountPoint"
0 commit comments