Difference between revisions of "Gentoo/HaskellPlatform"
< Gentoo
Jump to navigation
Jump to search
(Initial page) |
(Write about use flags) |
||
Line 1: | Line 1: | ||
Gentoo supports the Haskell Platform! |
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. |
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. |
||
Line 19: | Line 19: | ||
Don't forget that these packages are also ~keyworded. |
Don't forget that these packages are also ~keyworded. |
||
+ | ==Install== |
||
− | ==Haskell Platform== |
||
Now, to install, run: |
Now, to install, run: |
||
Line 26: | Line 26: | ||
emerge haskell-platform |
emerge haskell-platform |
||
</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>. |
Revision as of 18:58, 2 August 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
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"
.