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