fixup! nixos/testing: restrict arguments to makeTest

This commit is contained in:
Naïm Favier 2022-03-19 11:51:39 +01:00
parent ca8c877f8c
commit 8f57dc38d9
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -224,12 +224,7 @@ rec {
interactive = true;
};
test =
let
passMeta = drv: drv // lib.optionalAttrs (meta != {}) {
meta = (drv.meta or { }) // meta;
};
in passMeta (runTests { inherit driver pos driverInteractive; });
test = lib.addMetaAttrs meta (runTests { inherit driver pos driverInteractive; });
in
test // {