about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2022-08-18 14:47:25 -0600
committerZhaofeng Li <hello@zhaofeng.li>2022-08-18 14:48:05 -0600
commit34281ff4791d06b76ad877a73d0ba44d9bafdd16 (patch)
treef6b9bce5a3eacdea9de6e7af216ae729ace9bf7a /pkgs/applications/emulators
parent3d07ae8afd3e6ccb2f95e42d898e2eaa271d6f9e (diff)
ryujinx: Migrate updater script to fetch-deps in buildDotnetModule
Diffstat (limited to 'pkgs/applications/emulators')
-rwxr-xr-xpkgs/applications/emulators/ryujinx/updater.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/pkgs/applications/emulators/ryujinx/updater.sh b/pkgs/applications/emulators/ryujinx/updater.sh
index c403af37856aa..5827271138d62 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"