git.iko.soy/typeable/entropy
on main help sign in
add os(ghcjs)
9d51e74Moritz Angermann
entropy.cabal+3−3
@@ -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)
@@ -60,8 +60,8 @@ library
60 build-depends: base >= 4.8 && < 5, bytestring
60 build-depends: base >= 4.8 && < 5, bytestring
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 }