From 4029f4b05bfffcf6c5cbbfae1bfb9416c070b81e Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Wed, 12 May 2021 13:25:09 +0200 Subject: [PATCH] doc: mention Priority for substituters --- src/libstore/globals.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 6f8749254..dd570cd63 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -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"}};