From ee8ba995a746b317d94abcbaeb877f200e1cd37b Mon Sep 17 00:00:00 2001 From: David McFarland Date: Sun, 16 Oct 2022 17:47:23 -0300 Subject: buildDotnetModule: make fetch-deps find output path automatically --- pkgs/applications/misc/ArchiSteamFarm/update.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkgs/applications/misc/ArchiSteamFarm/update.sh') diff --git a/pkgs/applications/misc/ArchiSteamFarm/update.sh b/pkgs/applications/misc/ArchiSteamFarm/update.sh index 857474c483e3..9d034a600650 100755 --- a/pkgs/applications/misc/ArchiSteamFarm/update.sh +++ b/pkgs/applications/misc/ArchiSteamFarm/update.sh @@ -3,8 +3,6 @@ set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" -deps_file="$(realpath ./deps.nix)" - new_version="$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s "https://api.github.com/repos/JustArchiNET/ArchiSteamFarm/releases" | jq -r 'map(select(.prerelease == false)) | .[0].tag_name')" old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)" @@ -22,7 +20,7 @@ if [[ "${1:-}" != "--deps-only" ]]; then update-source-version ArchiSteamFarm "$new_version" fi -$(nix-build -A ArchiSteamFarm.fetch-deps --no-out-link) "$deps_file" +$(nix-build -A ArchiSteamFarm.fetch-deps --no-out-link) popd "$asf_path/web-ui/update.sh" -- cgit 1.4.1