diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-06-06 12:54:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 12:54:28 +0200 |
commit | b56319a13901cb81dedc3d77b6f685b9dc775f7d (patch) | |
tree | a654255d0bd2d4c12fbab9b12baee40f32f5ca2a /src/libstore/globals.hh | |
parent | 864ab1a7ac54be79048371616d87e6775b19d337 (diff) | |
parent | c694f1a2f3773664b08e561c3fe75b5fe97df51f (diff) |
Merge pull request #8391 from aneeshusa/remove-wrong-default-value-in-docs-for-hashed-mirrors
Remove old default from docs for `hashed-mirrors`
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 07f524858..940cb48f5 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -896,12 +896,11 @@ public: this, {}, "hashed-mirrors", R"( A list of web servers used by `builtins.fetchurl` to obtain files by - hash. The default is `http://tarballs.nixos.org/`. Given a hash type - *ht* and a base-16 hash *h*, Nix will try to download the file from - *hashed-mirror*/*ht*/*h*. This allows files to be downloaded even if - they have disappeared from their original URI. For example, given - the default mirror `http://tarballs.nixos.org/`, when building the - derivation + hash. Given a hash type *ht* and a base-16 hash *h*, Nix will try to + download the file from *hashed-mirror*/*ht*/*h*. This allows files to + be downloaded even if they have disappeared from their original URI. + For example, given an example mirror `http://tarballs.nixos.org/`, + when building the derivation ```nix builtins.fetchurl { |