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 <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-05-12 18:15:52 +02:00
parent 07ca942344
commit b35ccb7fda

View File

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