Skip to content

fix non-GHCJS compilation #1566

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ packages:
codeworld-server/
codeworld-base/
funblocks-client/

constraints:
ghcjs-dom ==0.9.5.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should really go in the cabal file (presumably in codeworld-api/codeworld-api.cabal) rather than here. To be honest, I'm a little surprised that there's a cabal.project file checked in. That seems wrong...

Copy link
Contributor Author

@peterbecich peterbecich Jan 17, 2022

Choose a reason for hiding this comment

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

Good idea; moved to funblocks-client.cabal.

Regarding the cabal.project file, I know the primary way to build CodeWorld is with the scripts provided; needed for GHC patches, etc. IMO the cabal.project file is useful nonetheless. For one, I'm trying to get the whole project building with Nix #1523 and cabal.project is needed for that (if using https://github.com/input-output-hk/haskell.nix).

2 changes: 1 addition & 1 deletion codeworld-auth/codeworld-auth.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ library
, directory
, filepath
, http-conduit
, jwt >= 0.10.0
, jwt == 0.10.*
, snap-core
, split
, text
Expand Down