Unverified Commit b659fa4e authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

ryujinx: 1.1.1385 -> 1.1.1398, fix updater script (#343969)

parents b4cde4d7 fddbf5e6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,13 +19,13 @@

buildDotnetModule rec {
  pname = "ryujinx";
  version = "1.1.1385"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
  version = "1.1.1398"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml

  src = fetchFromGitHub {
    owner = "Ryujinx";
    repo = "Ryujinx";
    rev = "ca59c3f4998e2d1beb3b0d0214611e3332238557";
    hash = "sha256-pLE8UUH4BzYyR3pqyUwQ112vBOump0wKyZaKwE131yY=";
    rev = "319507f2a12a6751f3ab833e498a3efd3119f806";
    hash = "sha256-3DM/kahNhl8EhSIRuqH0trYoR51OrGxSE+GuOKxKr2c=";
  };

  enableParallelBuilding = false;
+4 −2
Original line number Diff line number Diff line
#! /usr/bin/env nix-shell
#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nix-prefetch-git jq
# shellcheck shell=bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"

@@ -68,9 +69,10 @@ cd ../../../..

if [[ "${1-default}" != "--deps-only" ]]; then
    SHA="$(nix-prefetch-git https://github.com/ryujinx/ryujinx --rev "$COMMIT" --quiet | jq -r '.sha256')"
    update-source-version ryujinx "$NEW_VERSION" "$SHA" --rev="$COMMIT"
    SRI=$(nix --experimental-features nix-command hash to-sri "sha256:$SHA")
    update-source-version ryujinx "$NEW_VERSION" "$SRI" --rev="$COMMIT"
fi

echo "building Nuget lockfile"

$(nix-build -A ryujinx.fetch-deps --no-out-link)
eval "$(nix-build -A ryujinx.fetch-deps --no-out-link)"