Upgrading packages/Updating to GHC 6.10

From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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:

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.

cabal-install

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