Skip to content

Commit

Permalink
ryujinx: archive.org tarball mirror
Browse files Browse the repository at this point in the history
Should fix source builds by relying on our beloved archive.org to host a [SHA256-matching tarball generated from a mirror of the repo](https://archive.org/details/ryujinx-5dbba-07e-33e-83c-9047dcbb-701c-9655edbbe-89086.tar).

I have only `nix repl`'d the fetchTarball expression for its consistency check, as I do not currently have the time nor storage to build the package locally, sorry about that.

We could also generate archives to address #345410 and the 24.05 branch.

Supersedes: #345881
  • Loading branch information
Nabile-Rahmani committed Oct 5, 2024
1 parent e32e37f commit 59a5a09
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkgs/by-name/ry/ryujinx/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, buildDotnetModule
, dotnetCorePackages
, fetchFromGitHub
, fetchzip
, libX11
, libgdiplus
, ffmpeg
Expand All @@ -27,10 +27,8 @@ buildDotnetModule rec {
pname = "ryujinx";
version = "1.1.1401"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml

src = fetchFromGitHub {
owner = "Ryujinx";
repo = "Ryujinx";
rev = "5dbba07e33e83c9047dcbb701c9655edbbe89086";
src = fetchzip {
url = "https://archive.org/download/ryujinx-5dbba-07e-33e-83c-9047dcbb-701c-9655edbbe-89086.tar/Ryujinx-5dbba07e33e83c9047dcbb701c9655edbbe89086.tar.gz";
hash = "sha256-UeJ3KE5e5H9crqroAxjmxYTf/Z4cbj41a6/1HW2nLcA=";
};

Expand Down

0 comments on commit 59a5a09

Please sign in to comment.