Skip to content

Commit

Permalink
remove incorrect statement about restrict-eval
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Feb 13, 2024
1 parent a5c36a4 commit 1aeb76b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/libexpr/eval-settings.hh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ struct EvalSettings : Config
> **Note**
>
> If [restricted evaluation](#conf-restrict-eval) is enabled, the default value is ignored.
>
> If [pure evaluation](#conf-pure-eval) is enabled, lookup paths are not resolved at all.
> If [pure evaluation](#conf-pure-eval) is enabled, `nixPath` evaluates to the empty list `[ ]`.
)", {}, false};

Setting<std::string> currentSystem{
Expand Down Expand Up @@ -70,8 +68,6 @@ struct EvalSettings : Config
[`builtins.nixPath`](@docroot@/language/builtin-constants.md#builtins-nixPath),
or to URIs outside of
[`allowed-uris`](@docroot@/command-ref/conf-file.md#conf-allowed-uris).
Also the default value for [`nix-path`](#conf-nix-path) is ignored, such that only explicitly set search path entries are taken into account.
)"};

Setting<bool> pureEval{this, false, "pure-eval",
Expand Down

0 comments on commit 1aeb76b

Please sign in to comment.