3
0
Fork 0
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:
Maximilian Bosch 2022-02-20 11:55:53 +01:00 committed by GitHub
commit 0b118df038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
''