Skip to content

Commit

Permalink
Merge pull request #8460 from NixOS/backport-8391-to-2.16-maintenance
Browse files Browse the repository at this point in the history
[Backport 2.16-maintenance] Remove old default from docs for `hashed-mirrors`
  • Loading branch information
edolstra authored Jun 6, 2023
2 parents 5ba5bdd + 567a5f0 commit 8405070
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/libstore/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8405070

Please sign in to comment.