diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-10-19 18:03:01 +0200 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-10-19 18:03:01 +0200 |
commit | 8ed57ac9166c3b0fcde9e8e6d2a379e501bcb7e5 (patch) | |
tree | ac2b3ade9bab65f918ccc8b600ec1f398686b116 /nixos/modules/testing | |
parent | e127ba7873cf3979da00cbc691155c0a87ecfc36 (diff) |
nixos/tests: make sure we use the qemu_test package to provide the Guest Agent
This reduces the closure size for the minimal test by a lot since we no
longer have to build the regular QEMU for even the simplest test.
Diffstat (limited to 'nixos/modules/testing')
-rw-r--r-- | nixos/modules/testing/test-instrumentation.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index c0ec76e8a3a3..dbbcb0bed5b0 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -116,6 +116,10 @@ with import ../../lib/qemu-flags.nix { inherit pkgs; }; users.users.root.initialHashedPassword = mkOverride 150 ""; services.xserver.displayManager.job.logToJournal = true; + + # Make sure we use the Guest Agent from the QEMU package for testing + # to reduce the closure size required for the tests. + services.qemuGuest.package = pkgs.qemu_test.ga; }; } |