From e00cda8dc0ae8e370bdf4b71f151f567afc631d7 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Tue, 25 Jan 2022 01:38:06 +1000 Subject: [PATCH] rpcs3: update script fixes Update the update script to handle the new ittapi stuff, and to work with nixpkgs-update (needs the old version to be a literal string in the file). Also throw some general cleanups in there for good measure. --- pkgs/misc/emulators/rpcs3/update.sh | 31 ++++++++++++++++------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/pkgs/misc/emulators/rpcs3/update.sh b/pkgs/misc/emulators/rpcs3/update.sh index 05be4dfeda1d..0c8477c5282b 100755 --- a/pkgs/misc/emulators/rpcs3/update.sh +++ b/pkgs/misc/emulators/rpcs3/update.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p gnused jq nix-prefetch-git curl +#!nix-shell -i bash --pure --keep GITHUB_TOKEN -p gnused jq nix-prefetch-git curl cacert set -eou pipefail @@ -14,7 +14,7 @@ if [[ ! -v GITHUB_TOKEN ]]; then exit 1 fi -PAYLOAD=$(jq -cn --rawfile query /dev/stdin '{"query": $query}' <