mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
6 lines
184 B
Nix
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)
|