Comment by drnick1
6 hours ago
Just keep in mind that some people like me avoid Haskell and the huge package mess it causes on Linux. Pandoc is infamous for that. Just stick to C++.
6 hours ago
Just keep in mind that some people like me avoid Haskell and the huge package mess it causes on Linux. Pandoc is infamous for that. Just stick to C++.
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).
Does your distro not statically link Haskell libraries the way it’s meant to? Installing pandoc only requires libgmp.
That is entirely your distribution's fault. ArchLinux has a user-hostile packaging approach which I do not experience in Fedora.
Arch Linux approach to python/haskell packaging is a great case study of what not to do...
Quite right, indeed
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.
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...
They build and link all Haskell libraries dynamically.
I completely avoid any haskell package in Arch and just build it with Stack, it's usually simple.