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

Negated GHC flags don't cancel out in package hash #9076

Open
georgefst opened this issue Jun 30, 2023 · 0 comments
Open

Negated GHC flags don't cancel out in package hash #9076

georgefst opened this issue Jun 30, 2023 · 0 comments

Comments

@georgefst
Copy link

As a concrete example, I enable ghc-options: -haddock in my global config, and pass --ghc-options=-no-haddock when cross-compiling. As a result, much of my store has cabal-hash.txts with ghc-options: -haddock -no-haddock, which is the same in principle as passing no GHC flags at all.

This has the potential to cause some cache misses.

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

1 participant