diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-09-04 08:29:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-09-04 08:59:51 +0000 |
commit | 88441f3e44d3ed8c2425a3259be546d2e5fc283a (patch) | |
tree | 31859d6074e62a91399fb85549efa107f9a4f2ce /pkgs/common-updater | |
parent | b727af80648e7346a4f2410d9d1a1f551a35f6f5 (diff) |
unstableGitUpdater: fix inaccurate comments
It used to use src.url, but when that was changed the comments weren't updated. Fixes: 7aae279ad9a ("unstableGitUpdater: fix updating fetchzip-based sources")
Diffstat (limited to 'pkgs/common-updater')
-rw-r--r-- | pkgs/common-updater/unstable-updater.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/common-updater/unstable-updater.nix b/pkgs/common-updater/unstable-updater.nix index 2be065f410e7b..f8944222a8d58 100644 --- a/pkgs/common-updater/unstable-updater.nix +++ b/pkgs/common-updater/unstable-updater.nix @@ -8,7 +8,7 @@ # This is an updater for unstable packages that should always use the latest # commit. -{ url ? null # The git url, if empty it will be set to src.url +{ url ? null # The git url, if empty it will be set to src.gitRepoUrl , branch ? null , stableVersion ? false # Use version format according to RFC 107 (i.e. LAST_TAG+date=YYYY-MM-DD) , tagPrefix ? "" # strip this prefix from a tag name when using stable version @@ -46,7 +46,7 @@ let esac done - # By default we set url to src.url + # By default we set url to src.gitRepoUrl if [[ -z "$url" ]]; then url="$(${nix}/bin/nix-instantiate $systemArg --eval -E \ "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.gitRepoUrl" \ |