common-updater-scripts/list-git-tags: prefer src.meta.homepage

This commit is contained in:
Kira Bruneau 2022-04-23 14:35:52 -04:00
parent 40696c3e6f
commit ef57e2fb8d

View File

@ -31,7 +31,7 @@ done
# By default we set url to src.url or src.meta.homepage # By default we set url to src.url or src.meta.homepage
if [[ -z "$url" ]]; then if [[ -z "$url" ]]; then
url="$(nix-instantiate $systemArg --eval -E \ url="$(nix-instantiate $systemArg --eval -E \
"with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.url or $UPDATE_NIX_ATTR_PATH.src.meta.homepage" \ "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.meta.homepage or $UPDATE_NIX_ATTR_PATH.src.url" \
| tr -d '"')" | tr -d '"')"
fi fi