@@ -58,8 +58,6 @@ let
5858
5959 ${optionalString (!readOnly) "nix.readOnlyStore = false;"}
6060
61− swapDevices = lib.mkOverride 0 [ ];
62−
6361 environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
6462 }
6563 '';
@@ -187,8 +185,9 @@ let
187185 $machine->succeed("test -e /boot/grub");
188186
189187 # Did the swap device get activated?
190− $machine->waitForUnit("swap.target");
191− $machine->succeed("cat /proc/swaps | grep -q /dev");
188+ # uncomment once https://bugs.freedesktop.org/show_bug.cgi?id=86930 is resolved
189+ #$machine->waitForUnit("swap.target");
190+ $machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev");
192191
193192 # Check whether the channel works.
194193 $machine->succeed("nix-env -i coreutils >&2");