From a8ac0c221a73b53de0aaa44eda9ae4b49e172724 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 18 Aug 2022 13:49:45 -0600 Subject: [PATCH] ryujinx: Force SDL_VIDEODRIVER to x11 Even though it defaults to x11, the user's environment may have it set to wayland which doesn't current work: --- pkgs/applications/emulators/ryujinx/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/emulators/ryujinx/default.nix b/pkgs/applications/emulators/ryujinx/default.nix index 9e919260590b..b21bc5e5fa26 100644 --- a/pkgs/applications/emulators/ryujinx/default.nix +++ b/pkgs/applications/emulators/ryujinx/default.nix @@ -83,6 +83,7 @@ buildDotnetModule rec { makeWrapperArgs = [ # Without this Ryujinx fails to start on wayland. See https://github.com/Ryujinx/Ryujinx/issues/2714 "--set GDK_BACKEND x11" + "--set SDL_VIDEODRIVER x11" ]; preInstall = ''