aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-06-15 17:12:03 -0700
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-06-18 23:36:32 -0400
commit6b06e97bde3d2d87a750210d46086624dc96a0f8 (patch)
tree45af96e550fc8226015aef74c38fbe9be2ec3e5d /src/libexpr/eval.hh
parent3b0d8fd796336318ce03c8ee90cd40ebb65fb032 (diff)
src/libexpr/eval.hh: add link for allowed-uris option
This commit adds a link to the documentation for `--option allowed-uris` where that option is mentioned while describing `restrict-eval`.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index ea1f5975b..8e41bdbd0 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -741,7 +741,8 @@ struct EvalSettings : Config
If set to `true`, the Nix evaluator will not allow access to any
files outside of the Nix search path (as set via the `NIX_PATH`
environment variable or the `-I` option), or to URIs outside of
- `allowed-uris`. The default is `false`.
+ [`allowed-uris`](../command-ref/conf-file.md#conf-allowed-uris).
+ The default is `false`.
)"};
Setting<bool> pureEval{this, false, "pure-eval",