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'); };