2019-09-06 09:25:22 +02:00
|
|
|
f: {
|
|
|
|
system ? builtins.currentSystem,
|
2020-11-07 13:04:50 +01:00
|
|
|
pkgs ? import ../.. { inherit system; },
|
2019-09-06 09:25:22 +02: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)
|