mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01: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)
|