From ad217ddbbc759f1b67bf1368032f364ee483b790 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Mon, 18 Mar 2024 16:23:17 -0300 Subject: [PATCH] Document builtins.storePath being disabled by pure-eval --- src/libexpr/eval-settings.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libexpr/eval-settings.hh b/src/libexpr/eval-settings.hh index c5581b9ff..60d3a6f25 100644 --- a/src/libexpr/eval-settings.hh +++ b/src/libexpr/eval-settings.hh @@ -76,9 +76,10 @@ struct EvalSettings : Config - Restrict file system and network access to files specified by cryptographic hash - Disable impure constants: - - [`bultins.currentSystem`](@docroot@/language/builtin-constants.md#builtins-currentSystem) + - [`builtins.currentSystem`](@docroot@/language/builtin-constants.md#builtins-currentSystem) - [`builtins.currentTime`](@docroot@/language/builtin-constants.md#builtins-currentTime) - [`builtins.nixPath`](@docroot@/language/builtin-constants.md#builtins-nixPath) + - [`builtins.storePath`](@docroot@/language/builtin-constants.md#builtins-storePath) )" };