From b35ccb7fda289490130aa0372af05629174c2c11 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 12 May 2024 18:15:52 +0200 Subject: [PATCH] nixos/tests/misc: call the tester `test` to be `callTest`-ed Otherwise, this will destroy the release machinery to collect all the systems. Signed-off-by: Raito Bezarius --- nixos/tests/misc.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index aa9b9fbe29a5..83e0f46be3ec 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -9,7 +9,10 @@ let }; testsForPackage = args: lib.recurseIntoAttrs { - miscFeatures = testMiscFeatures args; + # If the attribute is not named 'test' + # You will break all the universe on the release-*.nix side of things. + # `discoverTests` relies on `test` existence to perform a `callTest`. + test = testMiscFeatures args; passthru.override = args': testsForPackage (args // args'); };