mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Revert "getDefaultNixPath: actually respect {restrict,pure}-eval
"
This reverts commit 1cba5984a6
.
This commit is contained in:
parent
e928c72cf9
commit
dd93c12c6a
4 changed files with 17 additions and 31 deletions
|
@ -570,7 +570,7 @@ struct EvalSettings : Config
|
|||
{
|
||||
EvalSettings();
|
||||
|
||||
Strings getDefaultNixPath();
|
||||
static Strings getDefaultNixPath();
|
||||
|
||||
static bool isPseudoUrl(std::string_view s);
|
||||
|
||||
|
@ -580,7 +580,7 @@ struct EvalSettings : Config
|
|||
"Whether builtin functions that allow executing native code should be enabled."};
|
||||
|
||||
Setting<Strings> nixPath{
|
||||
this, {}, "nix-path",
|
||||
this, getDefaultNixPath(), "nix-path",
|
||||
"List of directories to be searched for `<...>` file references."};
|
||||
|
||||
Setting<bool> restrictEval{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue