Update src/libstore/globals.hh

This commit is contained in:
Valentin Gagarin 2023-06-16 17:58:01 +02:00 committed by GitHub
parent baef05e6fe
commit f695a74751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -711,7 +711,7 @@ public:
this, {}, "trusted-substituters", this, {}, "trusted-substituters",
R"( R"(
A list of [Nix store URLs](@docroot@/command-ref/new-cli/nix3-help-stores.md#store-url-format), separated by whitespace. A list of [Nix store URLs](@docroot@/command-ref/new-cli/nix3-help-stores.md#store-url-format), separated by whitespace.
These are not used by default, but can be enabled by users of the Nix daemon by specifying [`substituters`](#conf-substituters). These are not used by default, but users of the Nix daemon can enable them by specifying [`substituters`](#conf-substituters).
Unprivileged users (those set in only [`allowed-users`](#conf-allowed-users) but not [`trusted-users`](#conf-trusted-users)) can pass as `substituters` only those URLs listed in `trusted-substituters`. Unprivileged users (those set in only [`allowed-users`](#conf-allowed-users) but not [`trusted-users`](#conf-trusted-users)) can pass as `substituters` only those URLs listed in `trusted-substituters`.
)", )",