Gentoo/HaskellPlatform

From HaskellWiki
< Gentoo
Revision as of 21:16, 7 August 2009 by HowardBGolden (talk | contribs) (Add haskell-updater to p.unmask file)
Jump to navigation Jump to search

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
echo app-admin/haskell-updater >> /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.

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

Feedback

Got any feedback for the packages above? Let us know!

You'll find us in #gentoo-haskell @ freenode, or send your comments to haskell@gentoo.org.