aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 23:19:58 +0000
committertv <tv@krebsco.de>2026-11-30 14:21:49 +0000
commit6b7b09fef16c9f90ee782c0d460a5cf8f2eac5cc (patch)
treeeef2b62ba6fbf68c52715eeb62f7095806b70223 /pkgs/populate/default.nix
parentecc5461d8a1147d2da70ea6913333e4d769a2bd2 (diff)
tests: give the VMs a store image of their own
The VMs used the host's store through 9p, whose paths their Nix doesn't know, so each scenario collecting garbage deleted every one of them from the VMs' view. In a nested VM, whose store shows the outer host's paths too, that took more than 45 minutes for one scenario. With useNixStoreImage, each VM gets an image of its own closure, which already holds every script the scenarios run (system.extraDependencies), and collecting garbage only looks at that. writableStore keeps the store writable, which qemu-vm.nix otherwise only makes the host's store.
Diffstat (limited to 'pkgs/populate/default.nix')
0 files changed, 0 insertions, 0 deletions