Skip to content

Use GHC 9.6.2#2975

Merged
epoberezkin merged 18 commits into
masterfrom
master-ghc9
Sep 18, 2023
Merged

Use GHC 9.6.2#2975
epoberezkin merged 18 commits into
masterfrom
master-ghc9

Conversation

@epoberezkin
Copy link
Copy Markdown
Member

This pr should be merged, not squashed

angerman and others added 4 commits August 24, 2023 21:56
* Make it compiler with 9.6

Can be built with:

cabal build all -j --allow-newer=base --allow-newer=ghc-prim --allow-newer=template-haskell --allow-newer=bytestring --allow-newer=memory --allow-newer=cryptonite

Using ghc 9.6

It mostly runs afoul of https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0366-no-ambiguous-field-access.rst

* compile with GHC 9.6.2: dependencies, imports, code

* update GHC version in CI

* update GHC version in desktop build scripts

* update simplexmq, sha256map.nix

* update compiler

* update simplexmq, direct-sqlcipher

* remove missing files from .cabal

* building on desktop

* mac build changes

* added version back

* building libffi from source

* update simplexmq

---------

Co-authored-by: Evgeny Poberezkin <[email protected]>
Co-authored-by: Avently <[email protected]>
@Gara-Dorta
Copy link
Copy Markdown
Contributor

Can you please update the Docker file too? I wanted to make a PR but I'm struggling to check out this branch properly.

https://github.com/simplex-chat/simplex-chat/blob/master-ghc9/Dockerfile#L10-L16

# Install ghc
RUN ghcup install ghc 9.6.2
# Install cabal
RUN ghcup install cabal 3.10.1.0
# Set both as default
RUN ghcup set ghc 9.6.2 && \
    ghcup set cabal 3.10.1.0

@epoberezkin epoberezkin merged commit 2524609 into master Sep 18, 2023
@epoberezkin epoberezkin deleted the master-ghc9 branch November 20, 2023 21:05
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.

4 participants