Remix.run Logo
ZeroTalent 8 months ago

I was a major contributor of Flake. What in particular is so idiotic in your opinion?

peterldowns 8 months ago | parent | next [-]

I use flakes a lot and I think both flakes and the Nix language are beyond comprehension. Try searching duckduckgo or google for “what is nix flakes” or “nix flake schema” and take an honest read at the results. Insanely complicated and confusing answers, multiple different seemingly-canonical sources of information. Then go look at some flakes for common projects; the almost necessary usage of things like flake-compat and flake-util, the many-valid-approaches to devshell and package definitions, the concepts of “apps” in addition to packages. All very complicated and crazy!

Thank you for your service, I use your work with great anger (check my github I really do!)

ZeroTalent 8 months ago | parent [-]

I apologize. It was my Haskell life period.

peterldowns 8 months ago | parent [-]

I forgive you as I hope you forgive me. Flakes are certainly much better than Nix without them, and they’ve saved me much more time than they’ve cost me.

ZeroTalent 8 months ago | parent | next [-]

No worries I also have to say I haven't had me morning coffee when I was writing my comment and maybe reacted overly emotionally. To me prioritizing Flakes being succinct was a priority.

wg0 8 months ago | parent | prev [-]

Man ... Classic HN.

But yes unfortunately even if you across the whole functional paradigm, nix is surely complicated. And one single file whole system up is rarely true.

yjftsjthsd-h 8 months ago | parent | prev [-]

FWIW, they said the language was bad, not specifically flakes. IMHO, nix is super easy if you already know Haskell (possibly others in that family). If you don't, it's extremely unintuitive.