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

chore: improved Wasm support #1297

Merged
merged 1 commit into from
Nov 3, 2024
Merged

chore: improved Wasm support #1297

merged 1 commit into from
Nov 3, 2024

Conversation

dhess
Copy link
Member

@dhess dhess commented Nov 1, 2024

Namely:

  • Bump ghc-wasm flake to latest, which includes support for Template
    Haskell and macOS. Note that we now need to pass
    -fno-external-interpreter to GHC; this appears to be related to
    GHC 9.8 TemplateHaskell doesn't work in pkgsStatic NixOS/nixpkgs#275304.

  • Run the Wasm build on macOS in CI, in addition to Linux.

  • Don't bother building Haddocks in the Wasm build.

  • Don't use -fwrite-ide-info in Wasm build.

  • allow-newer for time package.

@dhess dhess enabled auto-merge November 1, 2024 11:19
@dhess dhess force-pushed the dhess/bump-wasm branch 2 times, most recently from eb3c5ab to 403725f Compare November 3, 2024 18:00
Namely:

* Bump `ghc-wasm` flake to latest, which includes support for Template
Haskell and macOS. Note that we now need to pass
`-fno-external-interpreter` to GHC; this appears to be related to
NixOS/nixpkgs#275304.

* Run the Wasm build on macOS in CI, in addition to Linux.

* Don't bother building Haddocks in the Wasm build.

* Don't use `-fwrite-ide-info` in Wasm build.

* `allow-newer` for `time` package.

Signed-off-by: Drew Hess <src@drewhess.com>
@dhess dhess changed the title chore(nix): bump ghc-wasm pin chore: improved Wasm support Nov 3, 2024
@dhess dhess added this pull request to the merge queue Nov 3, 2024
Merged via the queue into main with commit 30a69b8 Nov 3, 2024
76 checks passed
@dhess dhess deleted the dhess/bump-wasm branch November 3, 2024 19:40
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.

1 participant