@@ -1,7 +1,7 @@
11{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
22, dotnet-sdk_5, dotnetPackages, dotnetCorePackages, cacert
33, libX11, libgdiplus, ffmpeg
4−, SDL2_mixer, openal, libsoundio, sndio
4+, SDL2_mixer, openal, libsoundio, sndio, pulseaudio
55, gtk3, gobject-introspection, gdk-pixbuf, wrapGAppsHook
66}:
77
@@ -15,16 +15,17 @@ let
1515 openal
1616 libsoundio
1717 sndio
18+ pulseaudio
1819 ];
1920in stdenv.mkDerivation rec {
2021 pname = "ryujinx";
21− version = "1.0.6893"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx
22+ version = "1.0.6954"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx
2223
2324 src = fetchFromGitHub {
2425 owner = "Ryujinx";
2526 repo = "Ryujinx";
26− rev = "fb65f392d1c4b0e01f22b6ddebcc8317ba9769c3";
27− sha256 = "0ncrcbwyirz21j81vc6yvcjc2fn8nc5ilrfczclq6f8cpy09c3y8";
27+ rev = "31cbd09a75a9d5f4814c3907a060e0961eb2bb15";
28+ sha256 = "00qql0wmlzs722s0igip3v0yjlqhc31jcr7nghwibcqrmx031azk";
2829 };
2930
3031 nativeBuildInputs = [ dotnet-sdk_5 dotnetPackages.Nuget cacert makeWrapper wrapGAppsHook gobject-introspection gdk-pixbuf ];
@@ -79,9 +80,13 @@ in stdenv.mkDerivation rec {
7980 --output $out/lib/ryujinx
8081 shopt -s extglob
8182
83+ # TODO: fix this hack https://github.com/Ryujinx/Ryujinx/issues/2349
84+ mkdir -p $out/lib/sndio-6
85+ ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
86+
8287 makeWrapper $out/lib/ryujinx/Ryujinx $out/bin/Ryujinx \
8388 --set DOTNET_ROOT "${dotnetCorePackages.net_5_0}" \
84− --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
89+ --suffix LD_LIBRARY_PATH : "${builtins.concatStringsSep ":" [ (lib.makeLibraryPath runtimeDeps) "$out/lib/sndio-6" ]}" \
8590 ''${gappsWrapperArgs[@]}
8691
8792 for i in 16 32 48 64 96 128 256 512 1024; do