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

Compile Paths module independently #1170

Closed
dag opened this issue Jan 8, 2013 · 2 comments
Closed

Compile Paths module independently #1170

dag opened this issue Jan 8, 2013 · 2 comments

Comments

@dag
Copy link

dag commented Jan 8, 2013

Fay is currently experimenting with replacing the base package with a fay-base package, but this is leading to build failures in fay-jquery which exposes its Paths_fay_jquery module. Cabal tries to build that module with the same flags as the other modules, but it's importing lots of modules from the base package that fay-base isn't exporting.

Besides Fay, this is not the first time a problem has appeared due to Cabal building this generated module with the same flags as the library; these bugs are all a result of this: #907 and #1000, #994, #1137.

The module itself is written with assumptions about how the .cabal file is written, assumptions that quickly break down in different setups.

@tfausak
Copy link
Collaborator

tfausak commented Apr 21, 2016

👍 I just ran into this problem by combining OverloadedStrings and RebindableSyntax. See this Gist for a small, complete example.

@jneira
Copy link
Member

jneira commented Mar 28, 2022

@jneira jneira closed this as completed Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants