diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-22T12·59+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-22T14·05+0200 |
commit | 022618c794f64ea354e7c9e166f3c8fc1654c470 (patch) | |
tree | 66fae354dd8b053af36e0452e76f0318cafa551b /src/nix-instantiate/nix-instantiate.cc | |
parent | a54c263402cf140b6f91e26c02f13cbeeda76583 (diff) |
Handle cycles when printing a value
So this no longer crashes with a stack overflow: nix-instantiate -E --eval 'let as = { x = as; }; in as' Instead it prints: { x = { x = <CYCLE>; }; }
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
0 files changed, 0 insertions, 0 deletions