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