From fa25d84d1330ee66e9df41d4e5dd8e85d8b506a0 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sat, 24 Oct 2020 21:28:38 +0200 Subject: [PATCH] nixos/tests: fix testDriver reference in runInMachine function In a previous commit I broke this as there is no longer one testDriver but only a function to generate one based on some QEMU inputs. --- nixos/lib/testing-python.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix index 2a2a14bab7a..d78193c2600 100644 --- a/nixos/lib/testing-python.nix +++ b/nixos/lib/testing-python.nix @@ -200,6 +200,7 @@ rec { , machine , preBuild ? "" , postBuild ? "" + , qemu ? pkgs.qemu_test , ... # ??? }: let @@ -254,7 +255,7 @@ rec { unset xchg export tests='${testScript}' - ${testDriver}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm + ${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm ''; # */ in