Gentoo supports the Haskell Platform!
Unmasking GHC 6.10.4 and the Haskell Platform
Currently (2009-08-02) GHC 6.10.4 and a few libraries are hard masked, meaning you will have to p.unmask yourself before installing. This is because we're still updating the portage packages to get full GHC 6.10.4 support.
echo dev-lang/ghc >> /etc/portage/package.unmask echo dev-haskell/parallel >> /etc/portage/package.unmask echo dev-haskell/haddock >> /etc/portage/package.unmask
As the haskell-platform depends on this recent GHC version, you'll need to unmask it too;
echo dev-haskell/haskell-platform >> /etc/portage/package.unmask
Don't forget that these packages are also ~keyworded.
Now, to install, run:
This will pull the GHC compiler, and all the libraries included in HP. If you want haddock documentation, set your
USE="doc". If you also want profiling libraries, set