Difference between revisions of "Upgrading packages/Updating to GHC 6.10"

From HaskellWiki
Jump to: navigation, search
m
(Updating to GHC 6.10 and Cabal 1.6)
Line 9: Line 9:
 
== Updating to GHC 6.10 and Cabal 1.6 ==
 
== Updating to GHC 6.10 and Cabal 1.6 ==
   
[[Category:Libraries]
 
  +
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.*"
  +
  +
 
[[Category:Libraries]]

Revision as of 03:26, 9 October 2008

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