From 82f59e8c6916a29ad86d4b55d774bdcbf556ddb2 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 3 Dec 2014 15:40:15 -0800 Subject: [PATCH] nixos/installer: Override swap devices so tests don't fail This patch should be reverted if either: - systemd fixes the multi-swapon issue. https://bugs.freedesktop.org/show_bug.cgi?id=86930 - If we disable the autogeneration of swap and vfat units within systemd. --- nixos/tests/installer.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 4ee0e064c10..680eeff7955 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -79,6 +79,8 @@ let virtualisation.pathsInNixDB = channelContents ++ [ pkgs.hello.src ]; virtualisation.memorySize = 768; + swapDevices = mkOverride 0 [ ]; + networking.firewall.allowedTCPPorts = [ 80 ]; };