nixos-rebuild: print run-*-vm location with bootloader (#130385)

Previously when doing a nixos-rebuild build-vm we see a message saying how to
run the VM, but with nixos-rebuild build-vm-with-bootloader we did not. We
now show it in both cases.
launchpad/nixpkgs/master
brprice 3 years ago committed by GitHub
parent db3405346d
commit 9b0a99f64c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh

@ -520,7 +520,7 @@ if [ "$action" = switch -o "$action" = boot -o "$action" = test -o "$action" = d
fi
if [ "$action" = build-vm ]; then
if [ "$action" = build-vm -o "$action" = build-vm-with-bootloader ]; then
cat >&2 <<EOF
Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm)

Loading…
Cancel
Save