@@ -43,7 +43,7 @@ custom-setup
44 ghc-options: -O2
44 ghc-options: -O2
45 exposed-modules: System.Entropy
45 exposed-modules: System.Entropy
46− if impl(ghcjs)
46+ if impl(ghcjs) || os(ghcjs)
47 other-modules: System.EntropyGhcjs
47 other-modules: System.EntropyGhcjs
49 if os(windows)
49 if os(windows)
@@ -61,7 +61,7 @@ library
62 default-language: Haskell2010
62 default-language: Haskell2010
64− if impl(ghcjs) {
64+ if impl(ghcjs) || os(ghcjs) {
65 build-depends: ghcjs-dom
65 build-depends: ghcjs-dom