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

Specify flags for cabal cradle #240

Closed
lf- opened this issue Aug 25, 2020 · 3 comments
Closed

Specify flags for cabal cradle #240

lf- opened this issue Aug 25, 2020 · 3 comments

Comments

@lf-
Copy link

lf- commented Aug 25, 2020

I want to be able to specify cabal flags in my hie.yaml to enable my example executable which is buildable: False by default, conditional on the example flag not being present.

@fendor
Copy link
Collaborator

fendor commented Aug 28, 2020

Can't you achieve that by creating a cabal.project.local file?

@lf-
Copy link
Author

lf- commented Aug 28, 2020

@fendor probably, but I had no idea to try that first. I'll have a crack at it. Thanks!

@lf-
Copy link
Author

lf- commented Aug 30, 2020

Yep, that seems to work. I'd appreciate if it were mentioned in the README as being the way to do this :)

Assuming it's not already and I didn't just miss it.

@lf- lf- closed this as completed Aug 30, 2020
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