We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 902b3a1 commit 3131daaCopy full SHA for 3131daa
1 file changed
nixos/tests/installer.nix
@@ -80,8 +80,9 @@ let
80
+ optionalString isEfi (if pkgs.stdenv.isAarch64
81
then ''bios => "${pkgs.OVMF.fd}/FV/QEMU_EFI.fd", ''
82
else ''bios => "${pkgs.OVMF.fd}/FV/OVMF.fd", '');
83
- in
84
- ''
+ in if !isEfi && !(pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
+ throw "Non-EFI boot methods are only supported on i686 / x86_64"
85
+ else ''
86
$machine->start;
87
88
# Make sure that we get a login prompt etc.
0 commit comments