Remix.run Logo
▲ Buttons840 a day ago

The Haskell ecosystem seems obsessed with NixOS in a way I haven't seen anywhere else.

I recall wanting to use Haskell packages that were only available in Nix, but nobody had bothered to make just a normal package.

▲axman6 19 hours ago | parent | next [-]

I’ve been using Haskell for about eighteen years and can’t think of a single example of anything that was only available via nix, other than Obsidian System’s stuff that used WASM back when building for that as a target was _complicated_ and having a reproducible environment was kind of a necessity.

▲Buttons840 6 hours ago | parent [-]

Yeah. That tickles my memory, so that's probably what I'm talking about.

▲itishappy 9 hours ago | parent | prev | next [-]

NixOS is subtly marketed to Haskell folks.

I got into Haskell because I wanted to learn ADTs, and quickly found I really appreciate the ways that purely functional programming tickles my brain!

NixOS has been described as a "purely functional Linux distribution" and I liked the sound of that at first. I haven't figured out what this means, lol, but I tried it anyway and quickly found I really appreciate it's declarative configuration.

https://edolstra.github.io/pubs/nixos-jfp-final.pdf

▲petra a day ago | parent | prev [-]

If you want to create an ecosystem optimized towards correctness, you'll have to curate what you let inside, and drop many things. And Nix is probably the best package manager for correctness.

That of course hurts market share.

▲Buttons840 a day ago | parent [-]

There is no correct, only pros and cons. How you weight the pros and cons will not be the same as everyone else.

▲petra 18 hours ago | parent [-]

in correct i meant "minimizes the amount of bugs".