News for hackers. Stuff that matters.
Re:Nix: An idea whose time has come by chrisweekly on Friday February 18, 2022 @11:54PM (#30394524)
Thank you sincerely for this public service announcement. We might joke about getting "nerd-sniped", but it really can be difficult to predict ROI when choosing which new things merit attention. This glimpse into real DX issues probably saved me (and many others) some real time and frustration.

OTOH I want to encourage those who do have the time and inclination to get involved and improve those things and help reify the good ideas / fulfill their potential.

Re:Nix: An idea whose time has come by _huayra_ on Saturday February 19, 2022 @12:13AM (#30394586)
I really wanted to love Nix and tried my best to ease into it, e.g. using it as a "pip" replacement for Python, then managing dotfiles, etc. Maybe I chose the wrong side of the "flakes schism", but it was so foggy and unclear how one went from "lazily evaluated attribute set" to "an actual system".

I really wish this was written in something even like Haskell or Ocaml, that has actual real language support and tooling. Troubleshooting attribute errors was just not possible and I gave up (GUIX looks awesome, but I can't really use shepherd unfortunately).

It really says something when I found myself looking to Gentoo as an "easier, well-thought-out alternative"...

Re:Nix: An idea whose time has come by 1_player on Saturday February 19, 2022 @06:40AM (#30396354)
Basing their killer app, the package manager, on a weird Haskell-like semi-functional undocumented language was a major faux pas of the project in my opinion. Guix is certainly easier to understand and hack, but sadly too "GNU" (i.e. orthodox) to be as useful in the real world as NixOS.

Adopting NixOS means learning how everything fits together as well as learning the quirks of a not very intuitive language. Way too make adoption even harder for everyone on the fence.

Re:Nix: An idea whose time has come by otabdeveloper4 on Saturday February 19, 2022 @08:23AM (#30396971)
The Nix language is just JSON + variables + lambda functions.

There's nothing "Haskell-like" in it as far as I can see.

And its real problem, just like with Javascript, is that it suffers from a serious case of roll-your-own-framework syndrome.

Re:Nix: An idea whose time has come by rekado on Sunday February 27, 2022 @12:11PM (#30490270)
I've been using Guix in the real world just fine.

If you mean that it doesn't come with the vanilla Linux kernel: just add the nonguix channel and you can install it.

Re:Nix: An idea whose time has come by carlmr on Saturday February 19, 2022 @02:42AM (#30395157)
>I really wish this was written in something even like Haskell or Ocaml, that has actual real language support and tooling. Troubleshooting attribute errors was just not possible and I gave up (GUIX looks awesome, but I can't really use shepherd unfortunately).

The 3 times I've tried to use Nix (and invariably gave up), I always came to this conclusion.

A language like F#/OCaml with great typing and type inference and good auto completion could get us half the way to usability.

Re:Nix: An idea whose time has come by Smaug123 on Saturday February 19, 2022 @04:00AM (#30395548)
Re:Nix: An idea whose time has come by zeec123 on Saturday February 19, 2022 @09:16AM (#30397269)