Open
Description
Describe the bug
When displaying a self-referencing attrset as JSON, it would be great if nix could show an error message along with the stack.
Steps To Reproduce
test.nix
let
a = {
b = a;
};
in
a
$ nix eval --json -f test.nix .
fish: Job 1, 'nix eval --json -f test.nix .' terminated by signal SIGSEGV (Address boundary error)
Expected behavior
An error message showing the stack
Metadata
Additional context
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.