mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
fixup! nixos/testing: restrict arguments to makeTest
This commit is contained in:
parent
ca8c877f8c
commit
8f57dc38d9
@ -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 // {
|
||||
|
Loading…
Reference in New Issue
Block a user