fantastic software, never build it from source, or if you have to, make sure you have an OS that bundles all the Haskell dependencies into a single meta package
Haskell tooling went from awful to best in class after stack came out. Look for “Quick stack method” in the installing page- It should be easy to build from source now with just a few commands. No doubt will take a long time to compile all the packages and you might still have issues tracking down any non-Haskell dependencies (c libraries).
It or one of its libraries did not compile for me OOTB in Gentoo. Granted it's marked as nonstable (~*). That's unfortunate, because I really liked to use it when I was mainly running Debian. Though I didn't really put any debugging effort into making it work.