-
Notifications
You must be signed in to change notification settings - Fork 245
How to set ghc-options for whole package set? #871
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
Comments
Am I right that you only want to do this sometimes, i.e. it wouldn't be sufficient to add:
to your Independently, I agree that it would be nice to be able to set |
Thanks for the quick reply! Yes, I would prefer to do this on the nix side. For development we use For context, we are using |
Fixed by #1046 |
For our production deployment, we would like to compile all packages with
-O2
. As far as I can see, theghcOptions
( https://input-output-hk.github.io/haskell.nix/reference/modules/#packagespackageghcoptions ) can only be set per-package. Is there an easy way to compile a complete package set with-O2
?The text was updated successfully, but these errors were encountered: