Jump to navigation Jump to search
Revision as of 16:24, 19 March 2018 by Henk-Jan van Tuyl (talk | contribs) (Rewrite of most of the page)
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.
Information about adapting packages to new a version of GHC or Cabal can be found on the following pages:
- Migration Guide; this page provides information to help migrating between major GHC releases.
- 2.0 migration guide; updating for Cabal 2.0
- /Updating to GHC 7
- /Updating to GHC 6.10
- /Updating to GHC 6.8
Detailed information about changes in the latest GHC release can be found in the GHC User’s Guide
Most new tips for fixing build failures are tracked at https://github.com/haskell-infra/hackage-trustees/blob/master/cookbook.md
Compatibility with older GHC
To maintain compatibility with older versions of GHC, use a conditional block in the .cabal file, checking on implementation (ghc >= x.y.z). For example:
if impl(ghc >= 6.12) ghc-options: -fno-warn-unused-do-bind