Files
lix/tests/functional2/lang/attrs-dynamic-rec/parse-fail.err.exp
T
piegamesandCommentator2.0 af166146ff nix::parser::State::addAttr: Forbid dynamic attrs in recursive attrsets
Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems>
Change-Id: I92656b3b27f551bf286abc0d680c4a1c542337d7
2026-01-31 15:32:27 +01:00

7 lines
356 B
Plaintext

error: dynamic attributes are not allowed within recursive attrsets, because they would be evaluated separately from the other recursive attributes. Use --extra-deprecated-features rec-set-dynamic-attrs to disable this error.
at /pwd/in.nix:4:5:
3| foo = yep;
4| ${foo} = "awa";
| ^
5| }