-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
nix repl :p is not interruptible #13481
Copy link
Copy link
Closed
Labels
buglanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etcreplThe Read Eval Print Loop, "nix repl" command and debuggerThe Read Eval Print Loop, "nix repl" command and debugger
Metadata
Metadata
Assignees
Labels
buglanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etcreplThe Read Eval Print Loop, "nix repl" command and debuggerThe Read Eval Print Loop, "nix repl" command and debugger
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
The lazy evaluation and traversal of a large datastructure through the repl's
:pcommand cannot be interrupted via ctrl-c.Steps To Reproduce
Expected behavior
Ctrl-c should stop the current evaluation and return to the repl prompt in a timely manner.
Metadata
Additional context
I'm writing some flake-parts modules that handle and name nixpkgs instantiations for memoization purposes... I triggered this quite a few times in debugging even after I already knew not to in theory.
Checklist
Add 👍 to issues you find important.