This results in anything that uses nixpkgs getting stopped in the debugger inside of nixpkgs internals, which are usually irrelevant. Let's default to the more useful option. Fixes: https://git.lix.systems/lix-project/lix/issues/666 Change-Id: If4b94a3d488bfb2f634ee5a2bc195e7a4b5434a5
12 lines
283 B
Plaintext
12 lines
283 B
Plaintext
@args --debugger --no-ignore-try
|
|
|
|
we should enter a debug repl through tryEval
|
|
nix-repl> (builtins.tryEval ((x: throw "foo") 1)).success
|
|
error: foo
|
|
|
|
This exception occurred in a 'tryEval' call. Use --ignore-try to skip these.
|
|
|
|
no segfault either
|
|
nix-repl> :quit
|
|
error: foo
|