-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include codeworld-available-pkgs
in cabal.project
#1537
base: master
Are you sure you want to change the base?
Conversation
compilation succeeds without GHCJS
witherable, | ||
wl-pprint-annotated, | ||
zenc | ||
if impl(ghcjs -any) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to
codeworld/codeworld-base/codeworld-base.cabal
Lines 41 to 65 in e596c20
if impl(ghcjs -any) | |
Build-depends: base, | |
bytestring, | |
codeworld-error-sanitizer, | |
codeworld-api, | |
ghc-prim, | |
ghcjs-base, | |
ghcjs-dom, | |
mtl, | |
random, | |
random-shuffle, | |
text, | |
time | |
else | |
Build-depends: base, | |
bytestring, | |
codeworld-error-sanitizer, | |
codeworld-api, | |
ghc-prim, | |
ghcjs-base-stub, | |
mtl, | |
random, | |
random-shuffle, | |
text, | |
time |
wl-pprint-annotated, | ||
zenc | ||
else | ||
-- excludes ghcjs-base and ghcjs-prim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only difference in the else
dependencies is the omission of ghcjs-base
and ghcjs-prim
.
e7e4e64
to
bf49616
Compare
bf49616
to
76bdfd5
Compare
What's the advantage of doing this? |
CI coverage, and I think it might help get Nix support working |
This PR also changes
codeworld-available-pkgs.cabal
so that building succeeds without GHCJS.