We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have
packages: indexed-traversable packages: indexed-traversable-instances if impl(ghc <9.12) tests: False packages: indexed-traversable-benchmarks tests: True benchmarks: True
it seems that with GHC-9.10 (i.e. when conditional is true), the tests are turned off, even lexically tests: True comes later.
tests: True
This is consistent with how conditionals work in .cabal files (conditional sections processed as if they appear last), but it's undocumented in https://cabal.readthedocs.io/en/3.12/cabal-project-description-file.html#conditionals-and-imports so I report this as a bug.
.cabal
The text was updated successfully, but these errors were encountered:
if impl(ghc <9.12)
should to be false with GHC 9.12, shouldn't it? Given the rest of the description, I'd expect if impl(ghc >=9.12) is meant.
if impl(ghc >=9.12)
Sorry, something went wrong.
Edited: with GHC-9.10
No branches or pull requests
If I have
it seems that with GHC-9.10 (i.e. when conditional is true), the tests are turned off, even lexically
tests: True
comes later.This is consistent with how conditionals work in
.cabal
files (conditional sections processed as if they appear last), but it's undocumented in https://cabal.readthedocs.io/en/3.12/cabal-project-description-file.html#conditionals-and-imports so I report this as a bug.The text was updated successfully, but these errors were encountered: