summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorRaphael Robatsch <raphael-git@tapesoftware.net>2023-01-29 14:27:58 +0100
committerRaphael Robatsch <raphael-git@tapesoftware.net>2023-01-29 14:30:29 +0100
commit7aed90a969c11388268cf3fdb1042cb64de9e6fc (patch)
treebeeeda61857ce4ae710c68099805e0c57393bfcd /nixos
parent40ef3bb63d4b6cf66aeb8468a0e8349cbc5aa5ca (diff)
nixos/tests/networking: fix evaluation
Fixes commands such as `nix-build -A nixosTests.networking.scripted`. Currently this fails: "error: The option `nodes' is used but not defined."
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/networking.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix
index 5d6f204ee839..c720c8068c87 100644
--- a/nixos/tests/networking.nix
+++ b/nixos/tests/networking.nix
@@ -952,6 +952,7 @@ let
'';
} else {
name = "RenameInterface";
+ nodes = { };
testScript = "";
};
# even with disabled networkd, systemd.network.links should work