2019-09-06 09:25:22 +02:00
|
|
|
f: {
|
|
|
|
system ? builtins.currentSystem,
|
2022-11-26 11:52:51 +01:00
|
|
|
pkgs ? import ../.. { inherit system; config = {}; overlays = []; },
|
2019-09-06 09:25:22 +02:00
|
|
|
...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
with import ../lib/testing-python.nix { inherit system pkgs; };
|
|
|
|
|
2022-10-16 16:18:00 +02:00
|
|
|
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|