[Haskell-cafe] best way to use ghc-7.0 under debian stable

Chris Smith cdsmith at gmail.com
Fri Jun 10 15:41:37 CEST 2011

On Fri, 2011-06-10 at 09:51 +0000, Johannes Waldmann wrote:
> here's what I usually do:
> * install ghc from binary package,
> * build haskell-platform from source.
> * when necessary, get more recent haskell packages via cabal

Yes, this is definitely the way to go.  You want to have the Haskell
Platform as a well-defined baseline build environment, and you want to
use cabal to manage your development libraries, not apt/dpkg.  While
cabal isn't perfect, it at least handles a lot more Haskell-specific
issues -- like the need to build some libraries against specific
versions or flags of other libraries, hashing version configurations,
and so on -- that apt/dpkg just doesn't have the Haskell-specific
knowledge to deal with.

Chris Smith

More information about the Haskell-Cafe mailing list