2020-04-24 23:36:52 +00:00
|
|
|
f: {
|
|
|
|
system ? builtins.currentSystem,
|
2021-06-04 09:07:49 +00:00
|
|
|
pkgs ? import ../.. { inherit system; },
|
2020-04-24 23:36:52 +00:00
|
|
|
...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
with import ../lib/testing-python.nix { inherit system pkgs; };
|
|
|
|
|
|
|
|
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|