From 838f0e7effc9f49afd7585997b16ca5531def2e0 Mon Sep 17 00:00:00 2001 From: SomeoneSerge Date: Fri, 16 Aug 2024 16:26:07 +0000 Subject: nixosTests: refactor the way common template and per-instance args are handled --- nixos/tests/all-tests.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index f9e2df5..adeaf65 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -41,16 +41,14 @@ builtins.mapAttrs testers.runNixOSTest ( { inherit name; + imports = value.imports ++ [ dsl ]; testScript = '' start_all() substituter.wait_for_unit("nix-serve.service") builder.succeed("dag-test") ''; } - // value - // { - imports = value.imports ++ [ dsl ]; - } + // builtins.removeAttrs value [ "imports" ] ) ) { -- cgit v1.2.3