diff options
author | SomeoneSerge <else@someonex.net> | 2024-08-16 16:26:07 +0000 |
---|---|---|
committer | SomeoneSerge <else@someonex.net> | 2024-08-16 16:28:20 +0000 |
commit | 838f0e7effc9f49afd7585997b16ca5531def2e0 (patch) | |
tree | 3f5bbb12e7394aa9e86912d8c9fff780f742de1d /nixos | |
parent | ac770cfbb032d36b6132d407381cc5d65c5f011e (diff) |
nixosTests: refactor the way common template and per-instance args are handled
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/all-tests.nix | 6 |
1 files changed, 2 insertions, 4 deletions
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" ] ) ) { |