summary refs log tree commit diff
path: root/pkgs/common-updater
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-09-04 08:29:44 +0000
committerAlyssa Ross <hi@alyssa.is>2022-09-04 08:59:51 +0000
commit88441f3e44d3ed8c2425a3259be546d2e5fc283a (patch)
tree31859d6074e62a91399fb85549efa107f9a4f2ce /pkgs/common-updater
parentb727af80648e7346a4f2410d9d1a1f551a35f6f5 (diff)
downloadnixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar.gz
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar.bz2
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar.lz
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar.xz
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.tar.zst
nixpkgs-88441f3e44d3ed8c2425a3259be546d2e5fc283a.zip
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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/common-updater/unstable-updater.nix b/pkgs/common-updater/unstable-updater.nix
index 2be065f410e..f8944222a8d 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" \