FYI, it's possible to use Nix package manager outside of NixOS. I'm not quite convinced that some of the choices the NixOS distro has made are good (or to my liking) but the package manager seems much better thought out.
I was able to quickly install Nix on a not quite up-to-date Linux distro to get my hands on specific versions of some programs that are too big to conveniently build from source.
I'm not sure it solves the package management problem for Haskell completely, but it should help managing GHC versions and external dependencies (ie. native libs required by Haskell libs), which cabal/stack aren't great with.
Note: I was a bit disappointed that installing Nix required root access to create /nix store. I would have liked to put it in my home directory instead.
Re:The Four Flaws of Haskell
by vertex-four on Monday August 15, 2016 @09:18AM
(#12290192)
Unfortunately, because Nix derivations embed full paths to all their dependencies, moving /nix elsewhere means you don't get access to the binary cache and wind up having to build everything from source. If you're happy with that, you can compile Nix manually to put the store in your home directory: https://nixos.org/wiki/How_to_install_nix_in_home_%28on_anot...
Re:The Four Flaws of Haskell
by taylorfausak on Monday August 15, 2016 @08:22AM
(#12289943)
Nix (and NixOS) are certainly nice to use with Haskell, but Stack is good. The post even says so:
> Stackage solved the consistent set of packages, and Stack made it even easier. I now consider Haskell package management a strength for large projects, not a risk.
* https://ocharles.org.uk/blog/posts/2014-02-04-how-i-develop-...
* https://www.reddit.com/r/haskell/comments/1vghgw/nixos_a_gnu...
* https://nixos.org/~eelco/pubs/nixos-jfp-final.pdf
* http://fuuzetsu.co.uk/blog/posts/2014-06-28-My-experience-wi...