From Fedora Project Wiki


GHC 8.8 and Haskell Stackage LTS 16

Summary

The GHC Haskell compiler will be updated from major version 8.6 to 8.8, and Haskell packages will be updated from Stackage LTS 14 to LTS 16 versions.

Owner

Current status

  • Targeted release: Fedora 33
  • Last updated: 2020-06-24
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

For Fedora 33, the GHC Haskell compiler will be updated from version 8.6.5 to 8.8.3 (based on ghc:8.8 module stream). Along with this Haskell packages in Stackage will be updated from the versions in LTS 14 to LTS 16. Haskell packages not in Stackage will be updated to the latest current version in Hackage.

Feedback

Benefit to Fedora

Fedora users will benefit from access to the latest stable Haskell compiler release, package tools, and current stable Haskell packages from Stackage LTS.

Scope

  • Proposal owners:
    • rebase ghc to 8.8.3
    • update ghc-rpm-macros to the final version for F33 GA
    • refresh packagings to the latest cabal-rpm release
    • update packages to latest Stackage LTS 16 versions using cabal-rpm
    • build all the packages in a Koji sidetag repo in dependency order
    • When finished push all builds through Bodhi to Rawhide before the mass rebuild
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: N/A
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

Any dropped packages will have obsoletes added. Otherwise there should not be any direct upgrade impact.

Users' Haskell projects will get rebuilt with ghc-8.8 when they next build them and might need minor adjustments.

How To Test

  • install ghc and cabal-install
  • install pandoc, ShellCheck, git-annex
  • install ghc-*-devel or ghc-*-prof or ghc-*-doc
  • cabal-rpm builddep <favouritepackage>; cabal install <favouritepackage>
  • test upgrades of F32 packages to F33

User Experience

Users will have the most recent stable version of ghc and Haskell libraries and tool available to them. This will make it easier for them to build latest versions of Haskell projects.

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?)
    • Change owner will drop the new builds and revert back to the versions in F32.
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change)

Documentation

Release Notes