Skip to content

Commit 18d365f

Browse files
committed
Update source URLs again (support for WASM)
1 parent e46c6d6 commit 18d365f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

examples/components/Main.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Miso.String
1414

1515
type Model = Int
1616

17-
#if defined(wasm32_HOST_ARCH)
17+
#ifdef WASM
1818
foreign export javascript "hs_start" main :: IO ()
1919
#endif
2020

nix/haskell/packages/source.nix

+8-8
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,26 @@ in
3939
flatris = fetchFromGitHub {
4040
owner = "dmjio";
4141
repo = "hs-flatris";
42-
rev = "8ff07a4";
43-
sha256 = "sha256-8CyAxOI/OfPOOidDg2sWBMlPBo8ujtpdnEowVi9QbZc=";
42+
rev = "4d63a06";
43+
sha256 = "sha256-wTMOtGQYsAGOW8UJr1V2WoXyo6QwUJIQQ4Fqimm1xfc=";
4444
};
4545
miso-plane = fetchFromGitHub {
4646
owner = "dmjio";
4747
repo = "miso-plane";
48-
rev = "ca840da";
49-
sha256 = "sha256-uh6gmuVX7YpeVmRShINJm5FJu5QSodxCPb6Yt18LNH4=";
48+
rev = "3fd4f3a";
49+
sha256 = "sha256-jbHn3BqrpuBt7KPvbHHzrG6t2cdDrYyFjHdLyD/vgAg=";
5050
};
5151
the2048 = fetchFromGitHub {
5252
owner = "dmjio";
5353
repo = "hs2048";
54-
rev = "f9feab8";
55-
sha256 = "sha256-lyR1XvYHvXePORnxG1+a8lEope2iC7WACZ0KmcWKpLk=";
54+
rev = "25192e8";
55+
sha256 = "sha256-sxAqm6VpuBPyFw19KM6/XAi8NmbIm/cYXr7SwAExumE=";
5656
};
5757
snake = fetchFromGitHub {
5858
owner = "dmjio";
5959
repo = "miso-snake";
60-
rev = "ef3f3fd";
61-
sha256 = "sha256-w8czHPy9TX4iTTVNc/qg3vUuZiVmTO2KHQK/lsgv3hI=";
60+
rev = "712b91f";
61+
sha256 = "sha256-kpI4aBnj5ehoRJAazMM+oHg9fj3XA69sP5bTk/pvFtQ=";
6262
};
6363
todomvc-common = fetchFromGitHub {
6464
owner = "tastejs";

0 commit comments

Comments
 (0)