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
21 lines
799 B
Plaintext
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
|