2019-09-06 08:25:22 +01:00
|
|
|
f: {
|
2024-03-27 13:37:43 +00:00
|
|
|
system ? builtins.currentSystem,
|
2022-11-26 10:52:51 +00:00
|
|
|
pkgs ? import ../.. { inherit system; config = {}; overlays = []; },
|
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)
|