diff --git a/nixos/tests/make-test.nix b/nixos/tests/make-test.nix new file mode 100644 index 000000000000..285ca5b71d6e --- /dev/null +++ b/nixos/tests/make-test.nix @@ -0,0 +1,5 @@ +f: { system ? builtins.currentSystem, ... } @ args: + +with import ../lib/testing.nix { inherit system; }; + +makeTest (if builtins.isFunction f then f (args // { inherit pkgs; }) else f)