Skip to content

Support conditionals in project files #764

@phadej

Description

@phadej

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions