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.8 js backend #471

Merged
merged 6 commits into from
Nov 2, 2024

Conversation

sgrb
Copy link
Contributor

@sgrb sgrb commented May 14, 2024

This PR makes reflex-dom buildable by ghc-9.8 with js backend. To make resulting applications usable (eliminate JS errors), fixes in ghcjs-dom and ghcjs-base are also required.

@sgrb
Copy link
Contributor Author

sgrb commented May 14, 2024

Perhaps it would be better to rebase it onto #470 after it will be merged...

@alexfmpe
Copy link
Member

Perhaps it would be better to rebase it onto #470 after it will be merged...

Agreed, I only worried about building with newer ghc for use in a desktop app but this PR adds some JS specific stuff.
You might also be interested in NixOS/nixpkgs#309650, if you haven't seen it yet

@@ -68,20 +68,20 @@ library
hs-source-dirs: src
build-depends:
aeson >= 0.8 && < 2.2,
base >= 4.7 && < 4.15,
base >= 4.7 && < 4.19,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what's with this bound since ghc 9.8 brings base 4.19
https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history

@alexfmpe alexfmpe merged commit 3ebba46 into reflex-frp:develop Nov 2, 2024
1 of 9 checks passed
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