diff options
author | Cody Hiar <thornycrackers@users.noreply.github.com> | 2022-08-02 10:51:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 10:51:09 -0600 |
commit | 6d0bf6ae0549c37caae3f337219e622701b30402 (patch) | |
tree | 8e101958e844f6949cdd51b9d0db43d80d4db648 /doc/builders | |
parent | 0444078dabdef0a4fdb64e9a607cf48a431c598c (diff) |
Update doc/builders/fetchers.chapter.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Diffstat (limited to 'doc/builders')
-rw-r--r-- | doc/builders/fetchers.chapter.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/builders/fetchers.chapter.md b/doc/builders/fetchers.chapter.md index e52d01cbb8eb7..ce6c214259a30 100644 --- a/doc/builders/fetchers.chapter.md +++ b/doc/builders/fetchers.chapter.md @@ -32,7 +32,9 @@ fetchurl { }; ``` -Hash mismatches generate an error message containing the correct sha256. +Use the resulting error message to determine the correct hash. + +<error message here> A similar problem arises while testing changes to a fetcher's implementation. If the output of the derivation already exists in the Nix store, test failures can go undetected. The [`invalidateFetcherByDrvHash`](#tester-invalidateFetcherByDrvHash) function helps prevent reusing cached derivations. |