Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1#!/usr/bin/env nix-shell 2#!nix-shell -i bash -p bash nix-update common-updater-scripts coreutils jq 3 4set -ex 5 6latestPatchesRev=`git ls-remote -b https://github.com/PCSX2/pcsx2_patches main | cut -f1` 7 8update-source-version pcsx2 \ 9 --ignore-same-version \ 10 --rev=$latestPatchesRev \ 11 --source-key=pcsx2_patches 12 13latestVersion="`curl "https://api.github.com/repos/PCSX2/pcsx2/releases/latest" \ 14 | jq -r ".tag_name[1:]"`" 15 16nix-update pcsx2 --version=$latestVersion