News for hackers. Stuff that matters.
Re:A technical vision for the Haskell ecosystem by rafaelRiv on Friday November 13, 2026 @10:52AM (#50485322)
How this was ever a problem ? and today we have ghcup, stack and nix
Re:A technical vision for the Haskell ecosystem by itishappy on Friday November 13, 2026 @11:03AM (#50485508)
That's the problem!

If I'm on NixOS, should I be installing via ghcup, stack, or nix?

Re:A technical vision for the Haskell ecosystem by wasted_intel on Friday November 13, 2026 @11:09AM (#50485590)
To be fair, that’s a general problem on NixOS (and other OSes), and one that tools like devenv have tried to solve. You can take what’s included with OS packages, but then you’re stuck with whatever version that is.
Re:A technical vision for the Haskell ecosystem by chriswarbo on Friday November 13, 2026 @12:24PM (#50486673)
> You can take what’s included with OS packages, but then you’re stuck with whatever version that is.

It's pretty easy to override things in Nixpkgs though, whether at the system level, or for one application, or just a particular dependency deep in the tree of one script.

Nixpkgs has a bunch of powerful functions to make this easier, e.g. callCabal2nix, makePackageSet, etc.

https://nixos.org/manual/nixpkgs/stable/#haskell-overriding-...

https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen...

Re:A technical vision for the Haskell ecosystem by Buttons840 on Friday November 13, 2026 @11:43AM (#50486079)
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.

Re:A technical vision for the Haskell ecosystem by petra on Friday November 13, 2026 @01:16PM (#50487500)
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.

Re:A technical vision for the Haskell ecosystem by Buttons840 on Friday November 13, 2026 @04:28PM (#50490021)
There is no correct, only pros and cons. How you weight the pros and cons will not be the same as everyone else.