From e928c72cf9f8d1963df86b3a4a1da0b2a14380ec Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Feb 2023 14:16:49 +0100 Subject: [PATCH] Revert "Document default `nix-path` value" This reverts commit dba9173a1d8cb1dd40e5922d009cb3a434e081c3. --- src/libexpr/eval.hh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 2340ef67b..876a6ae0e 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -581,14 +581,7 @@ struct EvalSettings : Config Setting nixPath{ this, {}, "nix-path", - R"( - List of directories to be searched for `<...>` file references. - - If [pure evaluation](#conf-pure-eval) is disabled, - this is initialised using the [`NIX_PATH`](@docroot@/command-ref/env-common.md#env-NIX_PATH) - environment variable, or, if it is unset and [restricted evaluation](#conf-restrict-eval) - is disabled, a default search path including the user's and `root`'s channels. - )"}; + "List of directories to be searched for `<...>` file references."}; Setting restrictEval{ this, false, "restrict-eval",