From 318ad2b8cea18e036fd0c9bee66680cf095db4ec Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Mon, 30 Sep 2024 15:12:31 +0000 Subject: [PATCH] ryujinx: Include more necessary libraries Ryujinx uses the Avalonia UI framework, which imports various X11 libraries. When they aren't found, some features such as context menus do not work. This was not found earlier because Avalonia does not throw an error or even warn when the libraries are not found, it just silently breaks. --- pkgs/by-name/ry/ryujinx/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/ry/ryujinx/package.nix b/pkgs/by-name/ry/ryujinx/package.nix index 6954ac3f839e..035ac0a0b7ad 100644 --- a/pkgs/by-name/ry/ryujinx/package.nix +++ b/pkgs/by-name/ry/ryujinx/package.nix @@ -12,6 +12,12 @@ , vulkan-loader , glew , libGL +, libICE +, libSM +, libXcursor +, libXext +, libXi +, libXrandr , udev , SDL2 , SDL2_mixer @@ -49,6 +55,12 @@ buildDotnetModule rec { # Avalonia UI glew + libICE + libSM + libXcursor + libXext + libXi + libXrandr # Headless executable libGL