@@ -46,7 +46,7 @@ Flag DoNotGetEntropy
46 Manual: True
46 Manual: True
48custom-setup
48custom-setup
49− setup-depends: Cabal >= 1.10 && < 3.15
49+ setup-depends: Cabal >= 1.10 && < 3.17
50 , base < 5
50 , base < 5
51 , filepath < 1.6
51 , filepath < 1.6
52 , directory < 1.4
52 , directory < 1.4
@@ -55,7 +55,7 @@ custom-setup
56 ghc-options: -O2
56 ghc-options: -O2
57 exposed-modules: System.Entropy
57 exposed-modules: System.Entropy
58− if impl(ghcjs) || os(ghcjs)
58+ if impl(ghcjs) || os(ghcjs) || arch(wasm32)
59 other-modules: System.EntropyGhcjs
59 other-modules: System.EntropyGhcjs
61 if os(windows)
61 if os(windows)
@@ -70,7 +70,7 @@ library
71 default-language: Haskell2010
71 default-language: Haskell2010
73− if impl(ghcjs) || os(ghcjs) {
73+ if impl(ghcjs) || os(ghcjs) || arch(wasm32) {
74 build-depends: ghcjs-dom >= 0.9.5.0 && < 1
74 build-depends: ghcjs-dom >= 0.9.5.0 && < 1