Difference between revisions of "Gentoo/HaskellPlatform"

From HaskellWiki
Jump to navigation Jump to search
(Add haskell-updater to p.unmask file)
(Mentioned Cabal in the list of things pulled in by emerge)
Line 28: Line 28:
 
</code>
 
</code>
   
This will pull the GHC compiler, and all the libraries included in HP. If you want haddock documentation, set your <code>USE="doc"</code>. If you also want profiling libraries, set <code>USE="profile"</code>.
+
This will pull the GHC compiler, Cabal, and all the libraries included in HP. If you want haddock documentation, set your <code>USE="doc"</code>. If you also want profiling libraries, set <code>USE="profile"</code>.
   
 
==Feedback==
 
==Feedback==

Revision as of 17:04, 20 December 2009

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, Cabal, 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.