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

stack_install: Override Cabal flags #903

Closed
aherrmann opened this issue May 27, 2019 · 1 comment
Closed

stack_install: Override Cabal flags #903

aherrmann opened this issue May 27, 2019 · 1 comment

Comments

@aherrmann
Copy link
Member

Is your feature request related to a problem? Please describe.
Hazel allows users to override per package Cabal flags. The new stack_install does not provide this feature. An example use-case would be the use of integer-simple instead of integer-gmp which requires passing additional Cabal flags to various Stackage packages. See here.

Describe the solution you'd like
stack_install could accept an additional attribute which takes a dict from package names to dicts from flag names to flag values, similar to Hazel's extra_flags attribute.

Additional context
Opening issue as suggested in #887 (comment).

@aherrmann
Copy link
Member Author

This has been implemented in #1053.

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

1 participant