2019-09-06 08:25:22 +01:00
|
|
|
f: {
|
|
|
|
system ? builtins.currentSystem,
|
2020-11-07 12:04:50 +00:00
|
|
|
pkgs ? import ../.. { inherit system; },
|
2019-09-06 08:25:22 +01:00
|
|
|
...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
with import ../lib/testing-python.nix { inherit system pkgs; };
|
|
|
|
|
2022-10-16 15:18:00 +01:00
|
|
|
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|