summary refs log blame commit diff
path: root/nixos/tests/make-test.nix
blob: f3e26aa7e74d2215e3af9ef6b5c7fab6361c1654 (plain) (tree)
1
2
3
4
5



                                                   
                                                                                                 
f: { system ? builtins.currentSystem, ... } @ args:

with import ../lib/testing.nix { inherit system; };

makeTest (if builtins.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)