blob: cee5da93454a18d5135b1f9c3ce2219c16241598 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
f: {
system ? builtins.currentSystem,
pkgs ? import ../.. { inherit system; config = {}; },
...
} @ args:
with import ../lib/testing.nix { inherit system pkgs; };
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|