Personal tools

Upgrading packages/Updating to GHC 6.10

From HaskellWiki

Jump to: navigation, search

A list of things that need updating when porting packages to newer library/cabal versions.

If you maintain a Haskell package this is for you.

For older versions of this document:

1 Updating to GHC 6.10 and Cabal 1.6

Main changes:

  • base-3 and base-4 will be installed, meaning you can always
 force packages to build against the old base.

1.1 cabal-install

1.2 runhaskell

Packages that require base-3 (e.g. for old implementations of the exceptoin type, can be built using runhaskell Setup.hs with:

   --constraint="base==3.*"