mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00: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)
|