diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-06-28 23:41:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 23:41:18 +0200 |
commit | 198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c (patch) | |
tree | 1eb1cec186e41f0f2bbed767dff2c5fe906230cb /pkgs/games | |
parent | 37bceead9019439c608464e87377626608becb09 (diff) | |
parent | 7af46fb0476330aaa2fe7a1627827007005918ef (diff) | |
download | nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.gz nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.bz2 nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.lz nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.xz nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.zst nixpkgs-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.zip |
Merge pull request #239622 from corngood/dotnet-misc
dotnet: misc fixes
Diffstat (limited to 'pkgs/games')
-rwxr-xr-x | pkgs/games/osu-lazer/update.sh | 4 | ||||
-rwxr-xr-x | pkgs/games/space-station-14-launcher/update.sh | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/games/osu-lazer/update.sh b/pkgs/games/osu-lazer/update.sh index 1ecca32d54a..8e9849db1e1 100755 --- a/pkgs/games/osu-lazer/update.sh +++ b/pkgs/games/osu-lazer/update.sh @@ -3,8 +3,6 @@ set -eo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" -deps_file="$(realpath "./deps.nix")" - new_version="$(curl -s "https://api.github.com/repos/ppy/osu/releases?per_page=1" | jq -r '.[0].name')" old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)" if [[ "$new_version" == "$old_version" ]]; then @@ -18,4 +16,4 @@ if [[ "$1" != "--deps-only" ]]; then update-source-version osu-lazer "$new_version" fi -$(nix-build . -A osu-lazer.fetch-deps --no-out-link) "$deps_file" +$(nix-build . -A osu-lazer.fetch-deps --no-out-link) diff --git a/pkgs/games/space-station-14-launcher/update.sh b/pkgs/games/space-station-14-launcher/update.sh index 8cfab508b0c..6e8b337d384 100755 --- a/pkgs/games/space-station-14-launcher/update.sh +++ b/pkgs/games/space-station-14-launcher/update.sh @@ -3,8 +3,6 @@ set -eo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" -deps_file="$(realpath "./deps.nix")" - new_version="$(curl -s "https://api.github.com/repos/space-wizards/SS14.Launcher/releases?per_page=1" | jq -r '.[0].tag_name' | sed 's/v//')" old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./space-station-14-launcher.nix)" @@ -15,4 +13,4 @@ fi cd ../../.. update-source-version space-station-14-launcher.unwrapped "$new_version" -$(nix-build -A space-station-14-launcher.fetch-deps --no-out-link) "$deps_file" +$(nix-build -A space-station-14-launcher.fetch-deps --no-out-link) |