forked from mirrors/nixpkgs
Update doc/builders/fetchers.chapter.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
0444078dab
commit
6d0bf6ae05
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue