Can we have `if impl(cabal <3.10)` project conditionals?
Open
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
With the behaviour of packages in imports changing between `cabal-3.8.*` and `cabal.3.10.*` (see #8795), how can I work around this?
We have conditionals in project files but I don't see an `if impl(cabal <3.10)` in the docs.
> Conditions in cabal may case on operating system, architecture, and compiler
> SOURCE: [Conditionals and imports](https://cabal.readthedocs.io/en/stable/cabal-project.html#conditionals-and-imports)
Contributor guide
Assessment
This issue has not been assessed yet.