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

Extra constraints for head.hackage job #643

Open
andreasabel opened this issue Feb 26, 2023 · 1 comment
Open

Extra constraints for head.hackage job #643

andreasabel opened this issue Feb 26, 2023 · 1 comment

Comments

@andreasabel
Copy link
Contributor

Recently, most of my GHC 9.6.1 alpha3 head.hackage jobs fail because an old base-compat (0.10.5) is picked up, ruining the build plan. E.g.:

One can fix this by patching the generated workflow with an extra constraints: base-compat >= 0.12.2. E.g.:

Is there a way to place extra constraints for the head.hackage job in the cabal.haskell-ci file?
Or (how) could this be supported?

@RyanGlScott
Copy link
Contributor

I think raw-project is what you are looking for. Adding something like this to your cabal.haskell-ci file should suffice:

raw-project
  constraints:
    base-compat >= 0.12.2

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

2 participants