doc: mention Priority for substituters

This commit is contained in:
Lorenzo Manacorda 2021-05-12 13:25:09 +02:00
parent d169eb2a1b
commit 4029f4b05b

View file

@ -617,8 +617,10 @@ public:
Strings{"https://cache.nixos.org/"},
"substituters",
R"(
A list of URLs of substituters, separated by whitespace. The default
is `https://cache.nixos.org`.
A list of URLs of substituters, separated by whitespace. Substituters
are tried based on their Priority value, which each substituter can set
independently. Lower value means higher priority.
The default is `https://cache.nixos.org`, with a Priority of 40.
)",
{"binary-caches"}};