

Hmm, that’s interesting. For me, it looks like this:

I actually thought, it said somewhere in there, that the file isn’t staged, but apparently not even that (anymore?).
You don’t happen to be using Lix or something, do you? I’ve heard that it’s supposed to have better error messages, but I was never sure how much better it might be…
Edit: Perhaps I should add that those code locations it shows, are not from my code. Only the modules/terminal/new_file.nix in the second-last line is relevant.
















Hmm, that sounds exactly like my setup. Weird.
I did have the file created, with
{}inside (empty Nix expression). If Igit addit, it works as well:And yeah, I understand that it’s supposed to be a stacktrace, but other error messages look similarly horrendous and I can often only try to guess what’s wrong by reading the stacktrace top-to-bottom, so I’ve somewhat gotten used to doing that.
But good to know that these terrible error messages might be a problem with my system. Thanks!