4 ms·
I want to like NixOS I just hate the language — idk maybe I’m in the minority. Give me a functional language like F# or some better DSL that builds a DAG and th
by gigatexal 1y ago
I want to like NixOS I just hate the language — idk maybe I’m in the minority. Give me a functional language like F# or some better DSL that builds a DAG and then you’re golden.
- vincentkriek 1y agoThe language and the compiler infrastructure is for me the biggest problem. It's very hard to understand what is going wrong when it goes wrong. Most advice feel like copy pasting existing code without knowing what it does. Learning this also complicates things as I am feeling overwhelmed with all the things needed for simple configuration structures instead of starting out with a simple program.
- woile 1y agoit's the biggest painpoint. I got used to it, but still don't like it that much. I think there are some efforts to build some kind of VM so, in theory, you could put any language on top. https://snix.dev/ https://snix.dev/
- vendiddy 1y agoI think a lot of people including myself feel this way. I really like the Nix model of derivations and approach to deterministic builds. It's the language IMO that prevents it from getting mainstream adoption. I think they would be best served by picking a subset of an FP language that already has good ergonomics and tooling.
- dogmatism 1y agoHave you looked at Guix?
- gigatexal 1y agoYes I have. And it looks sane. The language is a kind of lisp? Scheme? It’s what I’d use if I went this route.
- nothrabannosir 1y agoThe language is bad but the module system is even worse. It’s another language implemented in the nix language. Zero hopes of an LSP or any kind of editor assistance. God have mercy on your soul if the docs for your piece of work are lacking. Not a controversial opinion even in the nix community as far as I know.