upvote
My Haskell experience on NixOS is wonderful!

I think it depends on your district. On some distros (looking at you arch!) I think GHCup and keeping things in /home and out of your system package manager is the better approach.

That said, I never had issues with Pandoc on any distribution. But I have struggled with Pandoc extensions, before I got NixOS (and flakes).

reply
Does your distro not statically link Haskell libraries the way it’s meant to? Installing pandoc only requires libgmp.
reply
That is entirely your distribution's fault. ArchLinux has a user-hostile packaging approach which I do not experience in Fedora.
reply
What does Arch do in particular to cause a mess? It's been a hot minute since I last used it and surely didn't use pandoc back then.
reply
Haskell packages in arch are dynamically, rather than statically, linked, which pulls in a large amount of transitive dependencies (reportedly in the neighborhood of a gigabyte). The maintainer has a pretty reasonable (to my eyes) explanation[1] as to why this is the case, but admittedly if I were an arch user I'd probably find it a bit annoying.

[1] https://www.reddit.com/r/linux/comments/9emwtu/comment/e5qss...

reply
They build and link all Haskell libraries dynamically.
reply
I completely avoid any haskell package in Arch and just build it with Stack, it's usually simple.
reply
Arch Linux approach to python/haskell packaging is a great case study of what not to do...
reply