git.iko.soy/typeable/entropy
on main help sign in
Merge pull request #54 from angerman/angerman/ghcjs
3be0b77Thomas M. DuBuisson
entropy.cabal+2−2
@@ -43,7 +43,7 @@ custom-setup
43library
43library
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
48 else {
48 else {
49 if os(windows)
49 if os(windows)
@@ -61,7 +61,7 @@ library
61
61
62 default-language: Haskell2010
62 default-language: Haskell2010
63
63
64− if impl(ghcjs) {
64+ if impl(ghcjs) || os(ghcjs) {
65 build-depends: ghcjs-dom
65 build-depends: ghcjs-dom
66 , jsaddle
66 , jsaddle
67 }
67 }