Merge "docs: mention importNative/exec in allow-unsafe-native-code-during-evaluation" into main

This commit is contained in:
Qyriad 2024-05-17 18:17:05 +00:00 committed by Gerrit Code Review
commit 93b7edfd07

View file

@ -14,8 +14,11 @@ struct EvalSettings : Config
static std::string resolvePseudoUrl(std::string_view url);
Setting<bool> enableNativeCode{this, false, "allow-unsafe-native-code-during-evaluation",
"Whether builtin functions that allow executing native code should be enabled."};
Setting<bool> enableNativeCode{this, false, "allow-unsafe-native-code-during-evaluation", R"(
Whether builtin functions that allow executing native code should be enabled.
In particular, this adds the `importNative` and `exec` builtins.
)"};
Setting<Strings> nixPath{
this, getDefaultNixPath(), "nix-path",