Comments (2)
Do I understand correctly that the impl(ghcjs) || os(ghcjs)
in the library stanza of the .cabal
file makes it so that the JS dependencies are not active when the compiler is not GHCJS?
library
ghc-options: -O2
exposed-modules: System.Entropy
if impl(ghcjs) || os(ghcjs)
other-modules: System.EntropyGhcjs
else {
if os(windows)
other-modules: System.EntropyWindows
else {
other-modules: System.EntropyNix
}
}
other-extensions: CPP, ForeignFunctionInterface, BangPatterns,
ScopedTypeVariables
build-depends: base >= 4.8 && < 5, bytestring
default-language: Haskell2010
if impl(ghcjs) || os(ghcjs) {
build-depends: ghcjs-dom >= 0.9.5.0 && < 1
, jsaddle
}
from entropy.
Yes, that's right.
from entropy.
Related Issues (20)
- GHCJs support HOT 2
- Setup.hs foils cross-compilation HOT 1
- Use terminfo-hs instead of terminfo where reliable? HOT 2
- entropy > 0.3.6 reinstall a new version of cabal
- Fails on windows with GHC 8.0 and 7.10 HOT 2
- Support ghc-8.8, Cabal-3 HOT 2
- Support ghc-8.10.1 HOT 3
- Build errors with GHC 8.10.4 on macOS 10.15 HOT 2
- Entropy source on *BSDs HOT 2
- Support GHC-9.2.1 HOT 2
- Having some trouble install entropy by stack HOT 2
- build failure with unix-2.8 HOT 2
- Cannot build on Windows with GHC 9.4.1 HOT 1
- build error HOT 3
- Build fails with setup segfaults on Mac with M1 processor HOT 2
- Building entropy-0.2.1 fails on GHC 9.6.1 on Windows HOT 4
- Missing CHANGELOG
- Fails to build with GHC 9.6.2 and the latest hackage index HOT 1
- Can we do a release for cabal 3.12? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entropy.