From ab1f45f3d3b12a2e2809bea0a18e2b4b873e1810 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 19 Oct 2023 10:11:07 +0100 Subject: linux-builder: support `x86_64-linux` on `aarch64` --- nixos/lib/qemu-common.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/lib') diff --git a/nixos/lib/qemu-common.nix b/nixos/lib/qemu-common.nix index 4fff2e0a6f15e..b946f62d93dc3 100644 --- a/nixos/lib/qemu-common.nix +++ b/nixos/lib/qemu-common.nix @@ -40,6 +40,7 @@ rec { otherHostGuestMatrix = { aarch64-darwin = { aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -machine virt,gic-version=2,accel=hvf:tcg -cpu max"; + inherit (otherHostGuestMatrix.x86_64-darwin) x86_64-linux; }; x86_64-darwin = { x86_64-linux = "${qemuPkg}/bin/qemu-system-x86_64 -machine type=q35,accel=hvf:tcg -cpu max"; -- cgit 1.4.1