about summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
committerRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
commit2175b157acf1fd338021bc162ec7c4d6d7f90306 (patch)
tree42240c01e72f022fd6d3bb2664960745e9ff757a /nixos/tests/installer.nix
parent6aded65e28c8805bfb81e6b5fc1613633480eb16 (diff)
treewide: refactor isi686 && isx86_64 -> isx86
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 73dc676ca32d7..513d2506e9416 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -70,7 +70,7 @@ let
     let iface = if grubVersion == 1 then "ide" else "virtio";
         isEfi = bootLoader == "systemd-boot" || (bootLoader == "grub" && grubUseEfi);
         bios  = if pkgs.stdenv.isAarch64 then "QEMU_EFI.fd" else "OVMF.fd";
-    in if !isEfi && !(pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
+    in if !isEfi && !pkgs.stdenv.hostPlatform.isx86 then
       throw "Non-EFI boot methods are only supported on i686 / x86_64"
     else ''
       def assemble_qemu_flags():