From ba59355e8105035382b2f4056a97b1ffcd1bb70a Mon Sep 17 00:00:00 2001 From: José Romildo Date: Sun, 20 Feb 2022 22:11:49 -0300 Subject: gitUpdater: init - Add the 'gitUpdater' helper function to update git based packages, using the 'genericUpdater' function. - Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts. - Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater' --- pkgs/applications/blockchains/nbxplorer/util/update-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/blockchains/nbxplorer/util/update-common.sh') diff --git a/pkgs/applications/blockchains/nbxplorer/util/update-common.sh b/pkgs/applications/blockchains/nbxplorer/util/update-common.sh index 8899bdd181d..1ca9ef3444b 100755 --- a/pkgs/applications/blockchains/nbxplorer/util/update-common.sh +++ b/pkgs/applications/blockchains/nbxplorer/util/update-common.sh @@ -26,7 +26,7 @@ getRepo() { } getLatestVersionTag() { - "$nixpkgs"/pkgs/common-updater/scripts/list-git-tags https://github.com/$(getRepo) 2>/dev/null \ + "$nixpkgs"/pkgs/common-updater/scripts/list-git-tags --url=https://github.com/$(getRepo) 2>/dev/null \ | sort -V | tail -1 | sed 's|^v||' } -- cgit 1.4.1