summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-10-01 20:34:01 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-10-01 20:34:01 +0200
commit3df3bbdc50111caac67251801b13b312fa011b5c (patch)
tree6a0882b3838dbc1baa98f38709d86a2106a0ec5a /nixos
parent78cbebb36100c25e095bbacc20342fcd71f7a955 (diff)
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
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/tools/nixos-build-vms/build-vms.nix2
1 files changed, 1 insertions, 1 deletions
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