Files
lix/tests/functional2/lang/attrs-dynamic/eval-fail-incomplete-state.err.exp
T
piegames f289462c59 eval: Don't expose partially constructed sets
This turns several instances of unsoundness into runtime infinite
recursion errors

Fixes https://github.com/NixOS/nix/issues/7012,
https://github.com/NixOS/nix/issues/3241

Change-Id: Id8d352c5a78ef08d8913f07fe83f55c875684714
2026-01-31 15:32:27 +01:00

21 lines
799 B
Plaintext

error:
… while evaluating a
at /pwd/in.nix:1:84:
1| let b = builtins.toJSON a; a = { foo = "bar"; "${builtins.seq b "baz"}" = b; }; in a
| ^
2|
… while calling the 'seq' builtin
at /pwd/in.nix:1:50:
1| let b = builtins.toJSON a; a = { foo = "bar"; "${builtins.seq b "baz"}" = b; }; in a
| ^
2|
… while calling the 'toJSON' builtin
at /pwd/in.nix:1:9:
1| let b = builtins.toJSON a; a = { foo = "bar"; "${builtins.seq b "baz"}" = b; }; in a
| ^
2|
error: infinite recursion encountered