mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
common-updater-scripts/list-git-tags: prefer src.meta.homepage
This commit is contained in:
parent
40696c3e6f
commit
ef57e2fb8d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user