diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-06 19:47:59 +0200 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-09-14 18:55:30 +0000 |
commit | 0cfc319f8362df42e5471a75e2e39d41dd69d2e7 (patch) | |
tree | 0f2eb7fae98edd439f7581b0a70016630343b038 /doc/builders | |
parent | 4fdb5e275d2bde1fc83cbc5b1aa9ecb57aedabd2 (diff) |
fetchDebianPatch: Require patch names with extensions
Otherwise the fetcher is unuseable with patches whose filename (in Debian) doesn't end in `.patch`.
Diffstat (limited to 'doc/builders')
-rw-r--r-- | doc/builders/fetchers.chapter.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/builders/fetchers.chapter.md b/doc/builders/fetchers.chapter.md index ba105764904c4..22ddb3b524973 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: -- `patch` and `hash`: the patch's filename without the `.patch` suffix, +- `patch` and `hash`: the patch's filename, and its hash after normalization by `fetchpatch` ; - `pname`: the Debian source package's name ; - `version`: the upstream version number ; @@ -110,7 +110,7 @@ buildPythonPackage rec { (fetchDebianPatch { inherit pname version; debianRevision = "5"; - name = "Add-quotes-to-SOAPAction-header-in-SoapClient"; + name = "Add-quotes-to-SOAPAction-header-in-SoapClient.patch"; hash = "sha256-xA8Wnrpr31H8wy3zHSNfezFNjUJt1HbSXn3qUMzeKc0="; }) ]; |