diff options
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/populate/tests/vm.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/populate/tests/vm.nix b/pkgs/populate/tests/vm.nix index 55362f9..d99388a 100644 --- a/pkgs/populate/tests/vm.nix +++ b/pkgs/populate/tests/vm.nix @@ -34,6 +34,14 @@ let # The plan refers to all scripts the scenarios run. Being part of the # system, they survive the scenarios collecting garbage. system.extraDependencies = [ plan "${./fixtures.sh}" ]; + # A store of their own, with only their closure, rather than the host's + # store through 9p, whose paths the VMs' Nix doesn't know: collecting + # garbage would delete each of them from the VMs' view, which takes + # longer than the scenarios where the host's store is big and 9p is + # slow, e.g. nested. Writable, which qemu-vm.nix only makes the store + # by default if it's the host's. + virtualisation.useNixStoreImage = true; + virtualisation.writableStore = true; nix.settings.substituters = lib.mkForce []; environment.systemPackages = [ pkgs.git |
