this post was submitted on 18 Apr 2026
431 points (90.0% liked)
Programmer Humor
31092 readers
4 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't think, we are doing different things. I create a new file, put
{}inside, then add it into theimports = [...];. It gives me that error.Then I
git add ., run again and don't get the error anymore.Is the error you pasted now from some manual assertion you did?
Yeah I'm doing the same, I even tried to import a nonexistent file, and use build like you instead of switch, but I'm only getting the error from above.
What's your nix version?
nix (Nix) 2.34.6
Hmm, for whatever reason, I'm on 2.31.4, so that might be the difference.
That version was tagged two weeks ago, because they apparently still release patch versions for rather old minor versions of
nix. So, apparently I am getting updates, but I'm on some older release channel or something. No idea why.I have to head to work now, so will have to debug in the evening or the weekend. Thanks for the clue, though.