about summary refs log tree commit diff
path: root/tests/import-derivation.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-07-30T21·25+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-07-30T21·37+0200
commit70e68e0ec604124bb248ea4d064307bbf96e7932 (patch)
treeba15bf6c08a80d254f2d2af859c4a8b46ed14f75 /tests/import-derivation.sh
parente87d1a63bdef0ae08f2d94d67fd8daa8fbb63fb4 (diff)
Detect stack overflows
Previously, if the Nix evaluator gets a stack overflow due to a deep
or infinite recursion in the Nix expression, the user gets an
unhelpful message ("Segmentation fault") that doesn't indicate that
the problem is in the user's code rather than Nix itself.  Now it
prints:

  error: stack overflow (possible infinite recursion)

This only works on x86_64-linux and i686-linux.

Fixes #35.
Diffstat (limited to 'tests/import-derivation.sh')
0 files changed, 0 insertions, 0 deletions