about summary refs log tree commit diff
path: root/doc/builders
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-08-30 07:48:42 +0000
committernicoo <nicoo@mur.at>2023-08-30 07:53:05 +0000
commitd4e265327f9b98ee6bddd08f422bc0372c484193 (patch)
tree1ed32e9cb86200db31ccec9dd25620813d334813 /doc/builders
parent7122aea5695e2d7bec80f2985e954eabe3874bd5 (diff)
downloadnixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar.gz
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar.bz2
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar.lz
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar.xz
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.tar.zst
nixlib-d4e265327f9b98ee6bddd08f422bc0372c484193.zip
fetchDebianPatch: Rename `patch` parameter, make `name` overrideable
This allows using the fetcher with `invalidateFetcherByDrvHash` for testing.
Diffstat (limited to 'doc/builders')
-rw-r--r--doc/builders/fetchers.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/builders/fetchers.chapter.md b/doc/builders/fetchers.chapter.md
index d434806aa9b2..02c2cfe2c191 100644
--- a/doc/builders/fetchers.chapter.md
+++ b/doc/builders/fetchers.chapter.md
@@ -86,7 +86,7 @@ Most other fetchers return a directory rather than a single file.
 ## `fetchDebianPatch` {#fetchdebianpatch}
 
 A wrapper around `fetchpatch`, which takes:
-- `name` and `hash`: the patch's filename without the `.patch` suffix,
+- `patch` and `hash`: the patch's filename without the `.patch` suffix,
   and its hash after normalization by `fetchpatch` ;
 - `pname`: the Debian source package's name ;
 - `version`: the upstream version number ;