Hey, I have been working on lib.network
which should be unrelated https://github.com/NixOS/nixpkgs/pull/318712
I'd consider the nix repl exiting a crash in this case since it doesn't with other faulty code.
nix repl --file
oh I didn't consider that, maybe nix_your_shell does load a repl plugin, I think @9999years might know. just checked, also happens with upstream nix. I guess I'm going to open a bug report at…
nix repl --file
Of course:
The application panicked (crashed).
Message: index out of bounds: the len is 2 but the index is 2
Location: src/nix.rs:128
━━━━━━━━━━━━━━━…
:write
to nix repl
This is just a nice to have thing, I would personally be interested in, bun non of you have to spend any time on this.
I believe making the history file location configurable (e.g. via a…
:write
to nix repl
Can you elaborate a bit more on the use case for mirroring REPL commands to a file?
Uh sure, I often draft up some stuff stuff in the repl and it would be convenient not to have to type it…