From 3df3bbdc50111caac67251801b13b312fa011b5c Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 1 Oct 2022 20:34:01 +0200 Subject: [PATCH] nixos/nixos-build-vms: fix eval Within #193485 (and the previous changes) the internal structure of the testing driver was changed. Since then, `makeTest` returns the attributes for the VM test(s) (including `driverInteractive`) inside a sub-attribute called `test`, so without this change running `nixos-build-vms` would fail like this: error: attribute 'driverInteractive' missing --- nixos/modules/installer/tools/nixos-build-vms/build-vms.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix index ced344bce234..21a257378a63 100644 --- a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix +++ b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix @@ -15,7 +15,7 @@ let inherit system pkgs; }; - interactiveDriver = (testing.makeTest { inherit nodes; name = "network"; testScript = "start_all(); join_all();"; }).driverInteractive; + interactiveDriver = (testing.makeTest { inherit nodes; name = "network"; testScript = "start_all(); join_all();"; }).test.driverInteractive; in