mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
9d92bd7845
This is primarily for EC2 and other cloud environments, where the disk may be bigger than the original image.
6 lines
204 B
Nix
6 lines
204 B
Nix
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)
|