Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with GHC 9.2.8. #4171

Closed
wants to merge 6 commits into from
Closed

Conversation

jonathanknowles
Copy link
Contributor

@jonathanknowles jonathanknowles commented Oct 19, 2023

Summary

This PR adjusts our nix configuration to build with GHC version 9.2.8 by default.

Related Issues

@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from 927ad97 to 8468e45 Compare October 19, 2023 04:38
@jonathanknowles jonathanknowles changed the title [Experimental] Support GHC 9.2.8. [Experimental] Build with GHC 9.2.8. Oct 19, 2023
@jonathanknowles jonathanknowles self-assigned this Oct 19, 2023
github-merge-queue bot pushed a commit that referenced this pull request Oct 19, 2023
## Issue

Related to
#4171.

## Description

This PR selectively applies suggestions from the latest version of
[`hlint`](https://github.com/ndmitchell/hlint)
([`3.6.1`](https://github.com/ndmitchell/hlint/releases/tag/v3.6.1)).

## Motivation

This will make it easier to upgrade our build environment to use GHC
version `9.2` or later, which will require us to upgrade to a newer
version of `hlint`.

Our `nix` environment is currently only configured to use version
[`3.3`](https://github.com/ndmitchell/hlint/releases/tag/v3.3) of
`hlint`, which was released on`2021-03-15`. Note that we can't upgrade
to a newer version of `hlint` without also upgrading GHC to at least
version `9.2`.
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from 7262dee to c501b2e Compare October 19, 2023 07:26
@jonathanknowles jonathanknowles changed the base branch from master to jonathanknowles/diff-friendly-import-style October 19, 2023 07:26
@jonathanknowles jonathanknowles changed the title [Experimental] Build with GHC 9.2.8. [Experimental] Build with GHC 9.2.8. Oct 19, 2023
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/diff-friendly-import-style branch from 4c69133 to bf69969 Compare October 20, 2023 01:22
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from c501b2e to 472f3aa Compare October 20, 2023 01:37
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/diff-friendly-import-style branch from bf69969 to 406576c Compare October 20, 2023 01:45
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from 472f3aa to c052da1 Compare October 20, 2023 02:07
@jonathanknowles jonathanknowles changed the title [Experimental] Build with GHC 9.2.8. Build with GHC 9.2.8. Oct 20, 2023
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from c052da1 to 8f6fdfb Compare October 20, 2023 02:21
Base automatically changed from jonathanknowles/diff-friendly-import-style to master October 20, 2023 08:40
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from 8f6fdfb to fda9a8c Compare October 26, 2023 03:30
@jonathanknowles jonathanknowles changed the base branch from master to jonathanknowles/ghc-9.2-compatibility October 26, 2023 03:30
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2-compatibility branch from 4c83203 to 12ebe22 Compare October 26, 2023 03:39
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from fda9a8c to 7a8994c Compare October 26, 2023 03:40
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2-compatibility branch from 12ebe22 to ca75cd1 Compare October 26, 2023 07:54
github-merge-queue bot pushed a commit that referenced this pull request Oct 26, 2023
This PR includes a small number of patches that enable compatibility
with GHC 9.2, while retaining compatibility with GHC 8.10.7.

(Note that this PR does **_not_** change the GHC version used in our nix
environment, which remains at 8.10.7. For a PR that changes our nix
environment to use GHC version 9.2.8, see:
#4171)
Base automatically changed from jonathanknowles/ghc-9.2-compatibility to master October 26, 2023 09:32
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from 7a8994c to b18f000 Compare October 31, 2023 05:09
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/ghc-9.2.8 branch from b18f000 to 022e1c7 Compare November 28, 2023 06:56
github-merge-queue bot pushed a commit that referenced this pull request Nov 29, 2023
Discovered while using the most recent version of
[`hlint`](https://github.com/ndmitchell/hlint)
([`3.6.1`](https://github.com/ndmitchell/hlint/releases/tag/v3.6.1)).

Note that version 3.6.1 of `hlint`:
  - is not available in our current `nix` shell.
- does not appear to support versions of GHC before 9.2
([source](https://github.com/ndmitchell/hlint/blob/ed1259a7da88420e8d05d6241d6bdd4493a9997f/hlint.cabal#L39
)).

See also: #4171
@HeinrichApfelmus
Copy link
Contributor

HeinrichApfelmus commented Jan 16, 2024

Closing in favor of the update to GHC 9.6.3, #4396 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants