nixpkgs/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix
Léo Gaspard 6c68fbd4e1
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
2018-11-11 23:11:45 +09:00

14 lines
269 B
Nix

{ system ? builtins.currentSystem
, config ? {}
, networkExpr
}:
let nodes = import networkExpr; in
with import ../../../../lib/testing.nix {
inherit system;
pkgs = import ../.. { inherit system config; }
};
(makeTest { inherit nodes; testScript = ""; }).driver