Commit b35ccb7f authored by Raito Bezarius's avatar Raito Bezarius
Browse files

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: default avatarRaito Bezarius <masterancpp@gmail.com>
parent 07ca9423
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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');
  };