mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 08:19:35 +01:00
treewide: hash type -> hash algorithm
"hash type" -> "hash algorithm" in all comments, documentation, and messages. ht -> ha, [Hh]ashType -> [HhashAlgo] for all local variables and function arguments. No API change is made. Continuation of5334c9c792and837b889c41.
This commit is contained in:
parent
d83008c3a7
commit
fd47f76da9
8 changed files with 17 additions and 17 deletions
|
|
@ -1094,8 +1094,8 @@ public:
|
|||
this, {}, "hashed-mirrors",
|
||||
R"(
|
||||
A list of web servers used by `builtins.fetchurl` to obtain files by
|
||||
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
|
||||
hash. Given a hash algorithm *ha* and a base-16 hash *h*, Nix will try to
|
||||
download the file from *hashed-mirror*/*ha*/*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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue