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

Question: ghc options in stack.yaml #762

Closed
rpglover64 opened this issue Aug 11, 2015 · 5 comments
Closed

Question: ghc options in stack.yaml #762

rpglover64 opened this issue Aug 11, 2015 · 5 comments
Milestone

Comments

@rpglover64
Copy link

Is there a way to specify package-specific ghc options in stack.yaml?

@snoyberg
Copy link
Contributor

No, though I'm probably going to be adding a way to add GHC options for all packages. Is there a reason adding these options in the .cabal file doesn't work for you?

@snoyberg snoyberg added this to the Support milestone Aug 12, 2015
@rpglover64
Copy link
Author

No reason it doesn't work; I just think of some options (specifically -fdefer-typed-holes) as properties of the build rather than of the package.

@snoyberg
Copy link
Contributor

I typically put something like that on the command line.

On Wed, Aug 12, 2015, 3:17 PM Alex R [email protected] wrote:

No reason it doesn't work; I just think of some options (specifically
-fdefer-typed-holes) as properties of the build rather than of the
package.


Reply to this email directly or view it on GitHub
#762 (comment)
.

@rpglover64
Copy link
Author

I do too, but that led to other dependencies being recompiled; not intolerable, but annoying.

@snoyberg
Copy link
Contributor

Forgot to update this issue too: I implemented this as part of #796. It's on master now, let me know if there are any problems.

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

No branches or pull requests

2 participants