diff --git a/pkgs/applications/emulators/ryujinx/updater.sh b/pkgs/applications/emulators/ryujinx/updater.sh index c403af37856a..5827271138d6 100755 --- a/pkgs/applications/emulators/ryujinx/updater.sh +++ b/pkgs/applications/emulators/ryujinx/updater.sh @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nuget-to-nix nix-prefetch-git jq dotnet-sdk_6 +#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nix-prefetch-git jq set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" @@ -75,16 +75,4 @@ fi echo "building Nuget lockfile" -STORE_SRC="$(nix-build . -A ryujinx.src --no-out-link)" -SRC="$(mktemp -d /tmp/ryujinx-src.XXX)" -cp -rT "$STORE_SRC" "$SRC" -chmod -R +w "$SRC" -pushd "$SRC" - -mkdir nuget_tmp.packages -DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet restore Ryujinx.sln --packages nuget_tmp.packages - -nuget-to-nix ./nuget_tmp.packages >"$DEPS_FILE" - -popd -rm -r "$SRC" +$(nix-build -A ryujinx.fetch-deps --no-out-link) "$DEPS_FILE"