about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2022-08-12 12:20:25 -0700
committerZhaofeng Li <hello@zhaofeng.li>2022-08-17 00:59:23 -0600
commit283d90b11097c95f3694258375ed9206f46f8a34 (patch)
tree13a59c10d740bc3e519f96fafed4ddeba81ad717 /pkgs/applications/emulators
parentaf9e00071d0971eb292fd5abef334e66eda3cb69 (diff)
ryujinx: Add dependencies for the Avalonia UI
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/ryujinx/default.nix20
1 files changed, 19 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/ryujinx/default.nix b/pkgs/applications/emulators/ryujinx/default.nix
index 8d77e00e82014..bda8f40dfcc0d 100644
--- a/pkgs/applications/emulators/ryujinx/default.nix
+++ b/pkgs/applications/emulators/ryujinx/default.nix
@@ -14,6 +14,14 @@
 , gdk-pixbuf
 , wrapGAppsHook
 , vulkan-loader
+, libICE
+, libSM
+, libXi
+, libXcursor
+, libXext
+, libXrandr
+, fontconfig
+, glew
 }:
 
 buildDotnetModule rec {
@@ -34,7 +42,7 @@ buildDotnetModule rec {
 
   # TODO: Add the headless frontend. Currently errors on the following:
   # System.Exception: SDL2 initlaization failed with error "No available video device"
-  executables = [ "Ryujinx" ];
+  executables = [ "Ryujinx" "Ryujinx.Ava" ];
 
   nativeBuildInputs = [
     wrapGAppsHook
@@ -56,6 +64,16 @@ buildDotnetModule rec {
     pulseaudio
     vulkan-loader
     ffmpeg
+
+    # Avalonia UI
+    libICE
+    libSM
+    libXi
+    libXcursor
+    libXext
+    libXrandr
+    fontconfig
+    glew
   ];
 
   patches = [