4 ms·
Well this is enough to put anyone off Nix. Such a shame because the abstract idea is obviously a good one. But every time Nix/NixOS comes up the story is the sa
by IshKebab 3y ago
Well this is enough to put anyone off Nix. Such a shame because the abstract idea is obviously a good one. But every time Nix/NixOS comes up the story is the same.
Terrible UX. Terrible documentation.
Is Guix any better?
- reidrac 3y agoMy Guix experience wasn't great. IMHO the people that love it will give you a non realistic view of it, so I recommend you listening to those that didn't like it that much but still like it. I installed it on Debian, and there's no uninstall. Sure, at that point I was already frustrated, but IMHO that's just a sample. It wasn't for me.
- rgoulter 3y agoOver half the blogpost is the user describing how they were able to get nix set up on a machine they don't have admin permissions to, and had a 4 GiB disk quota limit. Those constraints don't really apply if you have admin control of your machine. (And the troubles in the first half were caused by zealously diving deeper with Nix, after an initial simple setup went well).
- rowanG077 3y agoI tried and found it even worse. Impenetrable language, worse documentation, less packages unless you use nixpkgs anyway...
- markstos 3y agoIronically, there are lots of blog posts documenting how people worked around the poor documentation, but seemingly few fixes being made in the upstream docs themselves. The excellent Arch Linux Wiki demonstrates that high-quality community-maintained docs are possible.
- takeda 3y agoI think the problem is people are assuming that Nix is just one another tool. In reality Nix is a programming language. It is a relatively simple language, but it is also functional and lazily evalated. And while the language is simple, its stdlib (nixpkgs) is actually puts another abstraction layer on top of it which is quite complex. I do think though that Nix should do the same thing other programming languages do: identify what the nix stdlib is, move it to a separate repo with its own release schedule and ensure that whatever is added to it/removed from it is documented. This won't help author of this blog, but it would be a great help for anyone who is willing to go through Nix Pills.
- IshKebab 3y agoTbh I don't understand why they created a new programming language. Why not use something like Starlark or even just sandboxed JavaScript?
- TillE 3y agoIt's the usual argument for any domain-specific language. Personally I loathe DSLs unless you genuinely need something really fast and really simple. Otherwise please just pick something off the shelf and save everyone the headache.
- takeda 3y agoWell, Guix started as Nix with established language, and that didn't really made it better. The Nix language is functional and lazily evaluated, it closely matches how Nix works builds packages, which basically makes it less verbose. Even if they used python (or python like language like starlark), and then proceed to build an abstractions on top of it, barely documenting the function. Leaving old ones with the new ones, you would still be confused and frustrated needing to look at the source code.