mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
fixup! nixos/testing: restrict arguments to makeTest
This commit is contained in:
parent
ca8c877f8c
commit
8f57dc38d9
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue