nixpkgs/nixos/tests/make-test.nix
2014-04-14 21:03:43 +02:00

6 lines
184 B
Nix

f: { system ? builtins.currentSystem, ... } @ args:
with import ../lib/testing.nix { inherit system; };
makeTest (if builtins.isFunction f then f (args // { inherit pkgs; }) else f)