git.iko.soy/typeable/entropy
on main help sign in
add os(ghcjs)
commit9d51e744e3a333afa4e40e0abd68f5fb06366fc3 authorMoritz Angermann <moritz.angermann@gmail.com> dateThu 9 Jan 2020, 12:09 (7 years ago) parent1120836
1 file changed+3−3
entropy.cabal+3−3
entropy.cabal+3−3
@@ -43,7 +43,7 @@ custom-setup
4343library
4444 ghc-options: -O2
4545 exposed-modules: System.Entropy
46− if impl(ghcjs)
46+ if impl(ghcjs) || os(ghcjs)
4747 other-modules: System.EntropyGhcjs
4848 else {
4949 if os(windows)
@@ -60,8 +60,8 @@ library
6060 build-depends: base >= 4.8 && < 5, bytestring
6161
6262 default-language: Haskell2010
63−
64− if impl(ghcjs) {
63+
64+ if impl(ghcjs) || os(ghcjs) {
6565 build-depends: ghcjs-dom
6666 , jsaddle
6767 }