News for hackers. Stuff that matters.
Re:Nix wrote half of my debugger by nine_k on Saturday October 10, 2026 @08:24PM (#50038480)
Nix is amazing in many ways, but its discoverability and transparency are sometimes very poor. Its module system is anything but lean and straightforward.

I say this as a daily user of Nix.

Re:Nix wrote half of my debugger by mamcx on Saturday October 10, 2026 @08:58PM (#50038704)
Is mainly the language. Is not just weird like APL , that insanely make sense. is weird.
Re:Nix wrote half of my debugger by jeremyjh on Saturday October 10, 2026 @09:27PM (#50038923)
I don’t find it weird compared to other functional languages.
Re:Nix wrote half of my debugger by Shish2k on Sunday October 11, 2026 @04:13AM (#50040738)
That's not the compliment that you think it is...

(I say this as somebody who deeply loves the concepts in most functional languages, and loves the concepts in nix, but recognises that the developer-experience of both is about as pleasant as reading somebody else's code-golfed perl)

Re:Nix wrote half of my debugger by jeremyjh on Sunday October 11, 2026 @09:54AM (#50043329)
It isn’t a compliment, just a fact. Of course it all depends on what you are familiar with, but that is a fact about you, not Nix.

The concepts in functional languages are not fully realized in any multi-paradigm languages. So you can admire all you want, but don’t knock it until you’ve actually tried it.

Re:Nix wrote half of my debugger by nine_k on Sunday October 11, 2026 @01:30AM (#50040083)
I don't find Nix the language particularly weird. But pick an arbitrary .nix file, see a bunch of stuff passed to the derivation, and try to find out whence it comes, and what types / attributes are expected there. The only definitely working solution I know is a full-text search over the file tree.

Now compare it even to Haskell, to say nothing about e.g. Typescript.

Re:Nix wrote half of my debugger by mamcx on Sunday October 11, 2026 @03:14PM (#50046760)
That... is all on the language. In fact the main trouble now that you spelled out is the major blow against nix: is terrible at modularity!
Re:Nix wrote half of my debugger by a96 on Monday October 12, 2026 @07:22AM (#50054749)
https://guix.gnu.org/ might fix the language by replacing it with a real one.
Re:Nix wrote half of my debugger by nine_k on Monday October 12, 2026 @05:07PM (#50063087)
Guix is a nice idea. But the few last times I read about it, users uniformly noted that it's soooo slow in man cases. Nix can be slow, but most of the time is very fast, it just has to check a lot of files.
Re:Nix wrote half of my debugger by pmarreck on Tuesday October 13, 2026 @09:41AM (#50071623)
The problem is that an immutable build architecture really requires a functional language to be aligned with it