diff options
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/populate/tests/vm.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/populate/tests/vm.nix b/pkgs/populate/tests/vm.nix index 55362f9..97737c4 100644 --- a/pkgs/populate/tests/vm.nix +++ b/pkgs/populate/tests/vm.nix @@ -34,6 +34,12 @@ 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. + virtualisation.useNixStoreImage = true; nix.settings.substituters = lib.mkForce []; environment.systemPackages = [ pkgs.git |
