News for hackers. Stuff that matters.
Re:The Curse of NixOS by 42jd on Monday January 24, 2022 @10:04AM (#30058444)
100% this. The language is designed for its use case which is packaging and configuration (nothing more or less). It has a learning curve due to being lazy and functional but works great once you get the hang of it. But the documentation of all its functions is so annoying. You have builtins and the nixpkgs functions[1]. There is learning the language, and then learning how to use it. Then there is the entire ecosystem of custom packaging functions that have their own pros/cons [2]. The issue isn’t with the language but the difficulty with trying to make existing tooling work the Nix way. That part is where I agree with the curse of nix. But the effort is worth it because once the packaging is complete it just works (forever).

1: Best resource I’ve found is this: https://teu5us.github.io/nix-lib.html

2: The status of lang2nix: https://discourse.nixos.org/t/status-of-lang2nix-approaches/...

Re:The Curse of NixOS by zeec123 on Monday January 24, 2022 @11:52AM (#30060254)
However, until this works, nixpkgs should provide a wrapper around FHSUserEnv which allows developers to develop without the curse.
Re:The Curse of NixOS by kristjansson on Monday January 24, 2022 @01:19PM (#30061607)
Convenient (version-addressed!) FHSUserEnv is exactly what I want out of Nix. Land me in an environment that has a list of deps (at specific versions, not hashes!), let me go mess with it.
Re:The Curse of NixOS by jcranberry on Monday January 24, 2022 @11:59AM (#30060381)
These look pretty promising. Maybe I'll give nixOS another shot because I really was a big fan.