fetchhg: make argument hash overridable

(cherry picked from commit ef2f8315bf)
This commit is contained in:
Yueh-Shun Li
2025-07-09 01:08:38 +08:00
committed by github-actions[bot]
parent 74ac5e0777
commit 0ba1f47823
3 changed files with 52 additions and 7 deletions

View File

@@ -836,7 +836,7 @@ Used with CVS. Expects `cvsRoot`, `tag`, and `hash`.
## `fetchhg` {#fetchhg}
Used with Mercurial. Expects `url`, `rev`, and `hash`.
Used with Mercurial. Expects `url`, `rev`, `hash`, overridable with [`<pkg>.overrideAttrs`](#sec-pkg-overrideAttrs).
A number of fetcher functions wrap part of `fetchurl` and `fetchzip`. They are mainly convenience functions intended for commonly used destinations of source code in Nixpkgs. These wrapper fetchers are listed below.