about summary refs log tree commit diff
path: root/nixos/tests/switch-test.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-06-21 17:36:40 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-06-28 12:49:34 +0200
commit89664199e18d45e1e629b011aaff0336987694b7 (patch)
tree1fff1dece46177842a93a27e73d2b6b620af3c2c /nixos/tests/switch-test.nix
parent9edad17d298a8f6cd7bdc6b540b74ff1f7f1338e (diff)
nixos/tests/switch-test.nix: Fix warnings
Diffstat (limited to 'nixos/tests/switch-test.nix')
-rw-r--r--nixos/tests/switch-test.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/switch-test.nix b/nixos/tests/switch-test.nix
index f891a2cb2f4c2..8cc4e68e78a1f 100644
--- a/nixos/tests/switch-test.nix
+++ b/nixos/tests/switch-test.nix
@@ -482,9 +482,9 @@ in {
   };
 
   testScript = { nodes, ... }: let
-    originalSystem = nodes.machine.config.system.build.toplevel;
-    otherSystem = nodes.other.config.system.build.toplevel;
-    machine = nodes.machine.config.system.build.toplevel;
+    originalSystem = nodes.machine.system.build.toplevel;
+    otherSystem = nodes.other.system.build.toplevel;
+    machine = nodes.machine.system.build.toplevel;
 
     # Ensures failures pass through using pipefail, otherwise failing to
     # switch-to-configuration is hidden by the success of `tee`.