Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

peterbecich
Copy link
Contributor

@peterbecich peterbecich commented Oct 31, 2021

This PR also changes codeworld-available-pkgs.cabal so that building succeeds without GHCJS.

compilation succeeds without GHCJS
witherable,
wl-pprint-annotated,
zenc
if impl(ghcjs -any)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to

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
Copy link
Contributor Author

@peterbecich peterbecich Oct 31, 2021

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.

@cdsmith
Copy link
Collaborator

cdsmith commented Nov 2, 2021

What's the advantage of doing this?

@peterbecich
Copy link
Contributor Author

CI coverage, and I think it might help get Nix support working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants