From b942e0f6508432b034042371cd5a53f74a63af50 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 3 May 2021 01:44:52 +0000 Subject: [PATCH] nixos/tests/installer: don't break under i686 Currently, the installer tests just hang after the initial install phase on i686 because qemu just quits because of the gic parameter. Fix this by doing x86 things for both x86-64 and i686. --- nixos/tests/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 24c55081f9a..48f0f593425 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -75,7 +75,7 @@ let else '' def assemble_qemu_flags(): flags = "-cpu max" - ${if system == "x86_64-linux" + ${if (system == "x86_64-linux" || system == "i686-linux") then ''flags += " -m 1024"'' else ''flags += " -m 768 -enable-kvm -machine virt,gic-version=host"'' }