Use Cabal 3.12 to unbreak cronjob#358
Closed
juhp wants to merge 2 commits intocommercialhaskell:masterfrom
Closed
Conversation
Member
Author
|
Ah maybe i shouldn't bump to ghc-9.6.7? $ nix eval nixpkgs/nixos-24.11#ghc.version
"9.6.6" |
stackage-server-cron: Unable to parse cabal file from package webdriver-precore-0.2.0.1@sha256:2c644f12cb915bd6491da97af448bb74270cdcee8260f4a39f11c7594b6153c4,7407 (from Hackage) - 0:0: Unsupported cabal-version 3.12. See haskell/cabal#4899. <= error from Cabal The cabal file uses the cabal specification version 3.12, but we only support up to version 3.8. Recommended action: upgrade your build tool (e.g., `stack upgrade`). The last two lines are from pantry
Member
Author
|
(okay reverted back to lts-22.43) |
chreekat
reviewed
Jan 29, 2026
| allow-newer: true | ||
| allow-newer-deps: | ||
| - pantry | ||
| - postgresql-libpq |
Member
There was a problem hiding this comment.
Why did postgres need updating?
Member
Author
There was a problem hiding this comment.
The version in lts-22 has an upper-bound preventing it building with Cabal-3.12. (The package version is unchanged of course.)
(I couldn't get it to link locally without pkg-config.)
Closed
Member
Author
|
Not sure how this appeared https://www.stackage.org/nightly-2026-02-05 |
Member
|
#362 is merged. I'll deploy it next and make sure stackage is working again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hopefully this can fix the error we are getting on the stackage server
when importing webdriver-precore-0.2.0.1 (which uses
cabal-version: 3.12) from Hackage.For reference the error messages are:
The 2nd line is from Cabal and last two are from pantry