forked from mirrors/nixpkgs
Merge pull request #160936 from Ma27/fix-nixos-run-vms
nixos-build-vms(8): `$out/bin/nixos-run-vms` should non-interactively start VMs
This commit is contained in:
commit
0b118df038
|
@ -25,4 +25,7 @@ pkgs.runCommand "nixos-build-vms" { nativeBuildInputs = [ pkgs.makeWrapper ]; }
|
|||
ln -s ${interactiveDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
|
||||
wrapProgram $out/bin/nixos-test-driver \
|
||||
--add-flags "--interactive"
|
||||
wrapProgram $out/bin/nixos-run-vms \
|
||||
--set testScript "${pkgs.writeText "start-all" "start_all(); join_all();"}" \
|
||||
--add-flags "--no-interactive"
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue