diff options
author | Tom Bereknyei <tomberek@gmail.com> | 2024-06-10 09:31:21 -0400 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2024-08-03 13:32:51 +0200 |
commit | 7fc481396c69e0687e655fbf77397535960c831c (patch) | |
tree | 1fd137e9df2a3018dbaf1ad70560ac654c43e6cd /src/libexpr/eval.cc | |
parent | 66469fc281fc4abb3284574f77a8051fee8116b9 (diff) |
fix: warn and document when advanced attributes will have no impact due to __structuredAttrs
Backport of https://github.com/NixOS/nix/pull/10884.
Change-Id: I82cc2794730ae9f4a9b7df0185ed0aea83efb65a
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index a925ce2d8..120130eb3 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -249,6 +249,12 @@ EvalState::EvalState( , sRight(symbols.create("right")) , sWrong(symbols.create("wrong")) , sStructuredAttrs(symbols.create("__structuredAttrs")) + , sAllowedReferences(symbols.create("allowedReferences")) + , sAllowedRequisites(symbols.create("allowedRequisites")) + , sDisallowedReferences(symbols.create("disallowedReferences")) + , sDisallowedRequisites(symbols.create("disallowedRequisites")) + , sMaxSize(symbols.create("maxSize")) + , sMaxClosureSize(symbols.create("maxClosureSize")) , sBuilder(symbols.create("builder")) , sArgs(symbols.create("args")) , sContentAddressed(symbols.create("__contentAddressed")) |