summary refs log tree commit diff
path: root/pkgs/applications/emulators/ryujinx/default.nix
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2022-09-26 14:45:48 -0300
committerDavid McFarland <corngood@gmail.com>2022-10-02 16:09:27 -0300
commit965a2ad49bab106e675b8078d4753125113a8074 (patch)
treece4981414c81c35b00265701b2314e784afba1f4 /pkgs/applications/emulators/ryujinx/default.nix
parent4b40579b2d3758e5940cf33602001bfe1d44f230 (diff)
downloadnixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar.gz
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar.bz2
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar.lz
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar.xz
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.tar.zst
nixpkgs-965a2ad49bab106e675b8078d4753125113a8074.zip
ryujinx: restore for current platform only
Diffstat (limited to 'pkgs/applications/emulators/ryujinx/default.nix')
-rw-r--r--pkgs/applications/emulators/ryujinx/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/ryujinx/default.nix b/pkgs/applications/emulators/ryujinx/default.nix
index fa0b63ba1be..765f7b12721 100644
--- a/pkgs/applications/emulators/ryujinx/default.nix
+++ b/pkgs/applications/emulators/ryujinx/default.nix
@@ -1,5 +1,7 @@
 { lib
 , buildDotnetModule
+, dotnetCorePackages
+, stdenvNoCC
 , fetchFromGitHub
 , wrapGAppsHook
 , libX11
@@ -86,6 +88,8 @@ buildDotnetModule rec {
     "/p:ExtraDefineConstants=DISABLE_UPDATER"
   ];
 
+  dotnetRestoreFlags = [ "--runtime ${dotnetCorePackages.sdk_6_0.systemToDotnetRid stdenvNoCC.targetPlatform.system}" ];
+
   executables = [
     "Ryujinx.Headless.SDL2"
     "Ryujinx.Ava"