GHC X.Y compiler parallel version installs
Summary
Introduce ghcX.Y packages to Fedora which can be parallel installed, in addition to the main ghc package.
Owner
- Name: Jens Petersen
- Email: petersen@redhat.com
Current status
- Targeted release: Fedora Linux 36
- Last updated: 2022-02-21
- devel thread
- FESCo issue: #2715
- Tracker bug: #2037390
- Release notes tracker: #784
Detailed Description
Currently ghc modules are available in Fedora but they cannot be installed in parallel. This Change will enable being able to easily install multiple versions of ghc in parallel, which can be useful for development - both for working on different projects and testing projects for compatibility across different ghc versions.
Feedback
This was proposed to the Fedora Haskell mailing list already and so far there were no objections.
Benefit to Fedora
Parallel installs of ghc versions will allow more flexible Haskell development using Fedora Linux.
Scope
- Proposal owners:
- update ghc-rpm-macros to support the packaging [done]
- add ghc9.2 [built for F36 rawhide]
- add ghc9.0 [built for F36 rawhide]
- add ghc8.10 [built for F36 rawhide]
- add cabal-install3.4 and/or cabal-install3.6 [stretch goal]
- also backport ghcX.Y's to F35, F34 [done] and later EPEL
- Other developers: N/A
- Release engineering: N/A
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Objectives: N/A
Upgrade/compatibility impact
These are new packages so upgrading from older releases should be fine. Eventually future Fedora version upgrades will probably need to obsolete very old ghcX.Y versions.
How To Test
1. dnf install ghc ghc9.2 ghc9.0
User Experience
Installing ghc, ghc9.0, and ghc9.2 will give you /usr/bin/ghc, /usr/bin/ghc-9.0.x and /usr/bin/ghc-9.2.x. Their Haskell libraries will have ghc versioned directories and .so files.
Dependencies
N/A
Contingency Plan
- Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change), Yes/No
Documentation
N/A (not a System Wide Change)
Release Notes
With the introduction of versioned ghcX.Y packages multiple versions of the Haskell GHC compiler can now be installed parallel in the Fedora Linux.