diff options
author | Morgan Helton <mhelton@gmail.com> | 2023-02-25 12:32:00 -0600 |
---|---|---|
committer | Morgan Helton <mhelton@gmail.com> | 2023-03-08 06:15:57 -0600 |
commit | 668f36dbd53aa72348e0187b6d174312ea627b33 (patch) | |
tree | 44fddbdc3b7de0711f48a5c60a09ed66a28270d3 /pkgs/applications/emulators/ryujinx/default.nix | |
parent | 944436f2903662d2b5d4513ce65a8fb517ddc4c6 (diff) | |
download | nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar.gz nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar.bz2 nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar.lz nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar.xz nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.tar.zst nixpkgs-668f36dbd53aa72348e0187b6d174312ea627b33.zip |
ryujinx: 1.1.489 -> 1.1.650
Diffstat (limited to 'pkgs/applications/emulators/ryujinx/default.nix')
-rw-r--r-- | pkgs/applications/emulators/ryujinx/default.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/pkgs/applications/emulators/ryujinx/default.nix b/pkgs/applications/emulators/ryujinx/default.nix index 0ede7db9f10..c5c21ed46fe 100644 --- a/pkgs/applications/emulators/ryujinx/default.nix +++ b/pkgs/applications/emulators/ryujinx/default.nix @@ -29,13 +29,13 @@ buildDotnetModule rec { pname = "ryujinx"; - version = "1.1.489"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml + version = "1.1.650"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml src = fetchFromGitHub { owner = "Ryujinx"; repo = "Ryujinx"; - rev = "37d27c4c99486312d9a282d7fc056c657efe0848"; - sha256 = "0h55vv2g9i81km0jzlb62arlky5ci4i45jyxig3znqr1zb4l0a67"; + rev = "b8556530f2b160db70ff571adf25ae26d4b8f58f"; + sha256 = "098yx4nwmkbab595a2xq9f5libzvsj01f3wf83nsbgzndy1h85ja"; }; dotnet-sdk = dotnetCorePackages.sdk_7_0; @@ -79,16 +79,12 @@ buildDotnetModule rec { SDL2 ]; - patches = [ - ./appdir.patch # Ryujinx attempts to write to the nix store. This patch redirects it to "~/.config/Ryujinx" on Linux. - ]; - projectFile = "Ryujinx.sln"; testProjectFile = "Ryujinx.Tests/Ryujinx.Tests.csproj"; doCheck = true; dotnetFlags = [ - "/p:ExtraDefineConstants=DISABLE_UPDATER" + "/p:ExtraDefineConstants=DISABLE_UPDATER%2CFORCE_EXTERNAL_BASE_DIR" ]; executables = [ @@ -113,11 +109,11 @@ buildDotnetModule rec { mkdir -p $out/share/{applications,icons/hicolor/scalable/apps,mime/packages} pushd ${src}/distribution/linux - install -D ./ryujinx.desktop $out/share/applications/ryujinx.desktop - install -D ./ryujinx-mime.xml $out/share/mime/packages/ryujinx-mime.xml - install -D ./ryujinx-logo.svg $out/share/icons/hicolor/scalable/apps/ryujinx.svg + install -D ./Ryujinx.desktop $out/share/applications/Ryujinx.desktop + install -D ./mime/Ryujinx.xml $out/share/mime/packages/Ryujinx.xml + install -D ../misc/Logo.svg $out/share/icons/hicolor/scalable/apps/Ryujinx.svg - substituteInPlace $out/share/applications/ryujinx.desktop \ + substituteInPlace $out/share/applications/Ryujinx.desktop \ --replace "Exec=Ryujinx" "Exec=$out/bin/Ryujinx" ln -s $out/bin/Ryujinx $out/bin/ryujinx |