diff options
| author | tv <tv@krebsco.de> | 2026-11-25 23:19:58 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-26 22:06:52 +0100 |
| commit | 8d1de5030863ee5ffe69be533f349ebbcbecbfe5 (patch) | |
| tree | 57120b1f19a0e5be5977322971ab00ab005091e5 /tests/pure.nix | |
| parent | ecc5461d8a1147d2da70ea6913333e4d769a2bd2 (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.
Diffstat (limited to 'tests/pure.nix')
0 files changed, 0 insertions, 0 deletions
