This repository was archived by the owner on Oct 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 4242
4343 - name : wasm32-wasi-ghc
4444 run : |
45- ghcup config add-release-channel https://raw.githubusercontent.com/haskell /ghcup-metadata/develop /ghcup-cross-0.0.8.yaml
46- ghcup install ghc --set wasm32-wasi-9.10.1 -- $CONFIGURE_ARGS
45+ ghcup config add-release-channel https://raw.githubusercontent.com/amesgen /ghcup-metadata/refs/heads/wasm-th /ghcup-cross-0.0.8.yaml
46+ ghcup install ghc --set wasm32-wasi-9.10.1.20241018 -- $CONFIGURE_ARGS
4747
4848 - uses : dw-labs-org/dart-sass-gha@v1
4949
Original file line number Diff line number Diff line change @@ -5,9 +5,8 @@ The GHC wasm backend supports the
55feature, allowing Haskell wasm apps to interop with JavaScript
66seamlessly in the browser. This repo contains a few examples to
77demonstrate this ability, all of which based on the
8- [ ` miso ` ] ( https://haskell-miso.org ) frontend framework, using an
9- unofficial [ port] ( https://github.com/amesgen/miso/tree/remove-th ) as
10- well as an experimental
8+ [ ` miso ` ] ( https://haskell-miso.org ) frontend framework as well as
9+ an experimental
1110[ ` jsaddle-wasm ` ] ( https://github.com/amesgen/jsaddle-wasm ) library
1211under the hood.
1312
@@ -44,7 +43,8 @@ You can set up the toolchain by either:
4443 [ ` ghc-wasm-meta ` ] ( https://gitlab.haskell.org/ghc/ghc-wasm-meta#getting-started-without-nix )
4544 directly to set up ghc head or ghc 9.10
4645- Using [ ` ghcup ` ] ( https://www.haskell.org/ghcup/guide/#cross-support )
47- to set up ghc 9.10
46+ to set up ghc 9.10 (9.10.1.20241018 or later, with TemplateHaskell support)
47+ and cabal >=3.15.
4848
4949Also install [ Sass] ( https://sass-lang.com/install/ ) .
5050
Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ packages: . hs2048
22
33index-state : 2024-09-29T15:37 :55Z
44
5+ -- necessary for TemplateHaskell to work
6+ shared : True
7+
8+ -- https://github.com/haskellari/time-compat/issues/37
9+ allow-newer : time-compat :time
10+
511if arch(wasm32)
612 -- https://github.com/haskellari/splitmix/pull/73
713 source-repository-package
814 type : git
915 location : https://github.com/amesgen/splitmix
1016 tag : 5f5b766d97dc735ac228215d240a3bb90bc2ff75
1117
12- -- remove TemplateHaskell
13- source-repository-package
14- type : git
15- location : https://github.com/amesgen/miso
16- tag : 27dd5fc80be9d0a3b80a9ecc81ee3401bc610e01
17-
1818 source-repository-package
1919 type : git
2020 location : https://github.com/amesgen/jsaddle-wasm
You can’t perform that action at this time.
0 commit comments