2018-11-11 00:41:11 -08:00
|
|
|
f: {
|
|
|
|
system ? builtins.currentSystem,
|
|
|
|
pkgs ? import ../.. { inherit system; config = {}; },
|
|
|
|
...
|
|
|
|
} @ args:
|
2014-04-14 12:03:43 -07:00
|
|
|
|
2018-11-11 00:41:11 -08:00
|
|
|
with import ../lib/testing.nix { inherit system pkgs; };
|
2014-04-14 12:03:43 -07:00
|
|
|
|
2018-02-02 08:44:08 -08:00
|
|
|
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|