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

Allow building with GHC 9.6 #200

Merged
merged 6 commits into from
Aug 3, 2023
Merged

Allow building with GHC 9.6 #200

merged 6 commits into from
Aug 3, 2023

Conversation

RyanGlScott
Copy link
Contributor

This is a simple matter of bumping version bounds.

Along the way, I also fixed a warning uncovered with recent GHCs and updated the CI.

@RyanGlScott RyanGlScott requested a review from kquick August 3, 2023 13:22
@RyanGlScott RyanGlScott merged commit d39b69d into master Aug 3, 2023
7 checks passed
@RyanGlScott RyanGlScott deleted the ghc-9.6 branch August 3, 2023 15:34
RyanGlScott added a commit to GaloisInc/cryptol that referenced this pull request Aug 31, 2023
This contains a varity of changes needed to make `cryptol` compile with GHC
9.6:

* `mtl-2.3.1` (bundled with GHC 9.6) no longer re-exports `Control.Monad` or
  related modules from the various `mtl` modules. I now use explicit imports
  from `mtl` modules to ensure that the necessary identifiers are always in
  scope, regardless of whether we are using `mtl-2.3.*` or an older `mtl`
  version.
* `directory-1.3.8.0` (bundled with GHC 9.6) no longer marks its modules as
  `Safe`, so `Cryptol.TypeCheck.Solver.SMT` (a module explicitly marked as
  `Safe`) no longer compiles due to its `System.Directory` import. I have
  changed `Cryptol.TypeCheck.Solver.SMT` to be `Trustworthy` instead to avoid
  this.
* I have raised the upper version bounds on libraries such as `base` and `aeson`
  to allow a GHC 9.6–compatible build plan.
* I have bumped the `argo` submodule to bring in the changes from
  GaloisInc/argo#200, which allows `argo` to build with GHC 9.6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants