summary refs log tree commit diff
path: root/doc/builders/fetchers.chapter.md
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-09-19 20:23:52 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-09-19 20:27:32 +0200
commitac78ae80a43c9ab27a434c3d1c62176cf93b5296 (patch)
treed7ff9495705fe7b96f35ec3222856184c0e8b227 /doc/builders/fetchers.chapter.md
parentb502de64766757b635ed2bb4aeb9532ceaefe71d (diff)
downloadnixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar.gz
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar.bz2
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar.lz
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar.xz
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.tar.zst
nixpkgs-ac78ae80a43c9ab27a434c3d1c62176cf93b5296.zip
invalidateFetcherByDrvHash move docs to manual
Diffstat (limited to 'doc/builders/fetchers.chapter.md')
-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 2e2786c9879..b1b00106b6c 100644
--- a/doc/builders/fetchers.chapter.md
+++ b/doc/builders/fetchers.chapter.md
@@ -6,7 +6,7 @@ When using Nix, you will frequently need to download source code and other files
 
 Because fixed output derivations are _identified_ by their hash, a common mistake is to update a fetcher's URL or a version parameter, without updating the hash. **This will cause the old contents to be used.** So remember to always invalidate the hash argument.
 
-For those who develop and maintain fetcheres, a similar problem arises with changes to the implementation of a fetcher. These may cause a fixed output derivation to fail, but won't normally be caught by tests because the supposed output is already in the store or cache. For the purpose of testing, you can use a trick that is embodied by the `invalidateFetcherByDrvHash` function. It uses the derivation `name` to create a unique output path per fetcher implementation, defeating the caching precisely where it would be harmful.
+For those who develop and maintain fetcheres, a similar problem arises with changes to the implementation of a fetcher. These may cause a fixed output derivation to fail, but won't normally be caught by tests because the supposed output is already in the store or cache. For the purpose of testing, you can use a trick that is embodied by the [`invalidateFetcherByDrvHash`](#sec-pkgs-invalidateFetcherByDrvHash) function. It uses the derivation `name` to create a unique output path per fetcher implementation, defeating the caching precisely where it would be harmful.
 
 ## `fetchurl` and `fetchzip` {#fetchurl}