From fae135b8711daa852c11b02c7624e145da0e0148 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 May 2014 18:20:55 +0200 Subject: [PATCH] Installer test: Increase amount of RAM On x86_64, 384 MB is not enough anymore for running "nix-env -i". http://hydra.nixos.org/build/10865007 --- nixos/tests/installer.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 782df7eab2a..9149b1bff02 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -98,6 +98,7 @@ let # FIXME: OVMF doesn't boot from virtio http://www.mail-archive.com/edk2-devel@lists.sourceforge.net/msg01501.html iface = if useEFI || grubVersion == 1 then "scsi" else "virtio"; qemuFlags = + (if iso.system == "x86_64-linux" then "-m 512 " else "-m 384 ") + (optionalString (iso.system == "x86_64-linux") "-cpu kvm64 ") + (optionalString useEFI ''-L ${efiBios} -hda ''${\(Cwd::abs_path('harddisk'))} ''); hdFlags = optionalString (!useEFI)