1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 13:21:47 +02:00

reword documentation on settings and attributes related to substitution

- add links
- be more concise
- clarify the distinction between `preferLocalBuild` and `allowSubstitutes`
This commit is contained in:
Valentin Gagarin 2023-12-02 02:21:17 +01:00
parent 84fe429dfd
commit 51adfb9b27
2 changed files with 7 additions and 20 deletions

View file

@ -268,9 +268,7 @@ public:
Setting<bool> alwaysAllowSubstitutes{
this, false, "always-allow-substitutes",
R"(
If set to `true`, Nix will ignore the `allowSubstitutes` attribute in
derivations and always attempt to use available substituters.
For more information on `allowSubstitutes`, see [the manual chapter on advanced attributes](../language/advanced-attributes.md).
If set to `true`, Nix will ignore the [`allowSubstitutes`](@docroot@/language/advanced-attributes.md) attribute in derivations and always attempt to use [available substituters](#conf-substituters).
)"};
Setting<bool> buildersUseSubstitutes{