about summary refs log tree commit diff
path: root/nixos/tests/sway.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2024-01-06 11:21:21 +0100
committerJörg Thalheim <joerg@thalheim.io>2024-01-06 11:21:27 +0100
commit610af56da4680dd5b6f195b3066d3ad8907aa7ed (patch)
treecb91990610154b57a75707045e296816c6f328e0 /nixos/tests/sway.nix
parent868769dc6c52c597dcf8275cd8eb7c019787536e (diff)
nixos/tests/sway: fix alacritty xwayland test
if WAYLAND_DISPLAY is set to some invalid string than alacritty will
exit with an error.
Diffstat (limited to 'nixos/tests/sway.nix')
-rw-r--r--nixos/tests/sway.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/sway.nix b/nixos/tests/sway.nix
index 695d4a7708104..185c5b1b0aa90 100644
--- a/nixos/tests/sway.nix
+++ b/nixos/tests/sway.nix
@@ -134,7 +134,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
     machine.wait_for_file("/tmp/sway-ipc.sock")
 
     # Test XWayland (foot does not support X):
-    swaymsg("exec WINIT_UNIX_BACKEND=x11 WAYLAND_DISPLAY=invalid alacritty")
+    swaymsg("exec WINIT_UNIX_BACKEND=x11 WAYLAND_DISPLAY= alacritty")
     wait_for_window("alice@machine")
     machine.send_chars("test-x11\n")
     machine.wait_for_file("/tmp/test-x11-exit-ok")