diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-07-30 16:18:27 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-07-30 16:18:27 +0000 |
commit | 5330c0a1afe9d97d6f6366157cf0d3da9a8e7c31 (patch) | |
tree | a01c14914ae8c135631a105e30a0ca339f9b71ee /nixos/lib | |
parent | 64915e05bfdd3f0af9d1c6145184c8347550efd0 (diff) |
treewide: use isAarch where appropriate
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/qemu-common.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/qemu-common.nix b/nixos/lib/qemu-common.nix index 250f714be0a7a..fc3dcb24ab9c1 100644 --- a/nixos/lib/qemu-common.nix +++ b/nixos/lib/qemu-common.nix @@ -18,7 +18,7 @@ rec { ]; qemuSerialDevice = if pkgs.stdenv.hostPlatform.isx86 || pkgs.stdenv.hostPlatform.isRiscV then "ttyS0" - else if (with pkgs.stdenv.hostPlatform; isAarch32 || isAarch64 || isPower) then "ttyAMA0" + else if (with pkgs.stdenv.hostPlatform; isAarch || isPower) then "ttyAMA0" else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'"; qemuBinary = qemuPkg: { |