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

Support building with GHC 9.10 #273

Merged
merged 10 commits into from
Sep 23, 2024
Merged

Support building with GHC 9.10 #273

merged 10 commits into from
Sep 23, 2024

Conversation

RyanGlScott
Copy link
Contributor

@RyanGlScott RyanGlScott commented Sep 19, 2024

base-4.20 (GHC 9.10) re-exports foldl' from the Prelude, which conflicts with the foldl' function defined in What4.Utils.Word16String. To avoid conflicts, we re-export What4.Utils.Word16String.foldl' using a qualified export, which avoids warnings in a backwards-compatible fashion.

We also fix a variety of -Wunused-imports warnings caused by the same change and add GHC 9.10.1 to CI.

Fixes #272.

RyanGlScott and others added 10 commits September 17, 2024 11:26
Bump the upper version bounds on `base` in the various `what4` packages, and
bump the `aig` submodule to bring in the changes from
GaloisInc/aig#18.
`base-4.20` (GHC 9.10) re-exports `foldl'` from the `Prelude`, which conflicts
with the `foldl'` function defined in `What4.Utils.Word16String`. To avoid
conflicts, we re-export `What4.Utils.Word16String.foldl'` using a qualified
export, which avoids warnings in a backwards-compatible fashion.

Fixes #272.
This ensures that the `zlib` version is consistent with the rest of the
packages offered by `nixpkgs`.
@RyanGlScott RyanGlScott marked this pull request as ready for review September 20, 2024 20:53
@RyanGlScott RyanGlScott requested a review from kquick September 20, 2024 20:53
@RyanGlScott RyanGlScott merged commit 0e226ba into master Sep 23, 2024
31 checks passed
@RyanGlScott RyanGlScott deleted the T272-ghc-9.10 branch September 23, 2024 11:42
RyanGlScott added a commit that referenced this pull request Sep 23, 2024
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.

Failure to compile with GHC 9.10
2 participants