News for hackers. Stuff that matters.
Re:Zero to Nix, an unofficial, opinionated, gentle introduct... by sshine on Monday January 23, 2023 @04:39PM (#34495450)
> I would love to see a discussion from somebody who really likes Nix on why it isn't ready for prime time yet

I have several friends who use Nix and generally recommend it.

I do believe I think enough like them to like Nix for the same reasons (declarative, reproducible).

I've asked them to play devil's advocate, and I generally get the downsides, but...

There is one downside that I feel they can't tell me, but they end up telling me indirectly:

Nix is very complicated and takes a long time to learn. It's the Haskell of package managers.

I love Haskell, so it's not even unreasonable that I'll like Nix. But I won't like the learning curve. I spent a decade becoming productive in Haskell, and a year becoming productive in Rust. Will I like for my operating system to have crutches for months as I reconstruct my neural pathways to perform basic navigation?

This is why I think a tutorial like this is great: A gentle introduction, and a lot of courage to spend time, is all you need.

> It feels like the Kubernetes of package management/build if you will complexity wise.

In terms of learning curve, it might not be as bad as Kubernetes.

Kubernetes has a lot of complexity because of its distributed model.

But in terms of learning a new operating system with its own paradigms, it may seem similarly impairing to learn. (You'll lose the same abilities to run things until you figure out what's going on.)

> "Do we really need this or is it just what everybody else is doing?"

We definitely need reproducible builds.

Nix is the best solution to offer this.

Re:Zero to Nix, an unofficial, opinionated, gentle introduct... by xedrac on Monday January 23, 2023 @09:42PM (#34498449)
My biggest gripe is they invented their own expression language that could have easily been more familiar. Instead it adds to the learning curve.
Re:Zero to Nix, an unofficial, opinionated, gentle introduct... by sshine on Tuesday January 24, 2023 @07:33PM (#34512696)
I don’t mind that they invented a language, but my impression is that it could be a better language. Less dynamic, better error messages.