--debugger not working properly on Nix 2.24

Using --debugger often does one or both of the following on Nix 2.24.10

  • slows evaluation to a crawl
  • throws the following error
terminating due to unexpected unrecoverable internal error: Unexpected condition in operator[] at src/libexpr/symbol-table.hh:119
Aborted (core dumped)

Switching back to 2.18 fixes the issue. Anyone have any idea what’s going on here?

Report it at GitHub - NixOS/nix: Nix, the purely functional package manager if no one else has, that’s where nix development occurs.