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:

<https://github.com/NixOS/nixpkgs/pull/187070#discussion_r949522925>
This commit is contained in:
Zhaofeng Li 2022-08-18 13:49:45 -06:00
parent fef7bfea9f
commit a8ac0c221a

View file

@ -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 = ''