Personal tools


From HaskellWiki

< Gentoo(Difference between revisions)
Jump to: navigation, search
(Initial page)
(Write about use flags)

Revision as of 18:58, 2 August 2009

Gentoo supports the Haskell Platform!

1 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.

2 Install

Now, to install, run:

emerge haskell-platform

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 USE="profile".