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