diff options
author | Léo Gaspard <leo@gaspard.io> | 2018-11-11 17:41:11 +0900 |
---|---|---|
committer | Léo Gaspard <leo@gaspard.io> | 2018-11-11 23:11:45 +0900 |
commit | 6c68fbd4e1f8beac39cb1f499ff90c78256262d6 (patch) | |
tree | aac6a33afe1ed7f4ebf408cc83903ea8a66531da /nixos/lib/build-vms.nix | |
parent | 921b63134a0181533b3673a48f96bb3b75ac3a9f (diff) |
tests: refactor to carry the package set as an argument
This way, the package set will be possible to pass without re-importing all the time
Diffstat (limited to 'nixos/lib/build-vms.nix')
-rw-r--r-- | nixos/lib/build-vms.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/lib/build-vms.nix b/nixos/lib/build-vms.nix index 4f65501f89c64..933f81392491c 100644 --- a/nixos/lib/build-vms.nix +++ b/nixos/lib/build-vms.nix @@ -1,6 +1,4 @@ -{ system, minimal ? false, config ? {} }: - -let pkgs = import ../.. { inherit system config; }; in +{ system, pkgs, minimal ? false, config ? {} }: with pkgs.lib; with import ../lib/qemu-flags.nix { inherit pkgs; }; |