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

Support conditionals in project files #764

Open
phadej opened this issue Jan 3, 2025 · 0 comments
Open

Support conditionals in project files #764

phadej opened this issue Jan 3, 2025 · 0 comments

Comments

@phadej
Copy link
Collaborator

phadej commented Jan 3, 2025

It would be handy, so haskell-ci would work with

packages: foo
if impl(ghc >=9.0)
  packages: foo-new-stuff

project setups, where new stuff requires newer GHC. As haskell-ci looks for tested-with any way, the implementation won't be hard, we can (for packages) ignore the condiotional tree, flattening it.

However as cabal-install-parsers is public interface, I need to know about haskell/cabal#10706 first

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