-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
cabal-install 3.4.0.0 #71600
cabal-install 3.4.0.0 #71600
Conversation
FYI, cabal-install 3.4 changed its bootstrap script to bootstrap.py, we couldn't use the old way to bootstrap it anymore. |
@fishtreesugar would you like to open a new PR with the necessary updates to the formula? It might be a while before @chenrui333 finds the time to fix this. Also, it would be good if we could build |
license "BSD-3-Clause" | ||
revision 1 | ||
head "https://github.com/haskell/cabal.git", branch: "3.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
head "https://github.com/haskell/cabal.git", branch: "3.2" | |
head "https://github.com/haskell/cabal.git", branch: "3.4" |
I don't think removing the patch is going to fix anything... The problem is that the tarball has no |
relates to haskell/cabal#7289 |
yeah, it is indeed missing the bootstrap files for the artifact. (will revisit the PR later) |
Actually, it looks like we can bootstrap 3.4 with the older 3.2. |
Sorry for the late reply.
It seems a bit complicated to bootstrapping cabal-install without an environment with older cabal-install because the script mention above depending on some fixture generated by tools written by developers.
The release.py seems to support it, but the script didn't bundle in the tarball too. |
I think I can work out how to bootstrap 3.4 with 3.2. However, I'm not sure which ghc to use. Would you know if I can build 3.4 with ghc 9.0.1 or 8.10.4? |
According to the dependencies of cabal-install 3.4 and bunded packages of GHC 9.0, the I think we should use GHC 8.10.4. |
Ok. Giving this a try at #71832. |
It looks like openbsd ports figured out how to bootstrapping via bootstrap.py: https://github.com/blackgnezdo/ports/blob/ghc-8.10/devel/cabal/Makefile (haskell/cabal#7289) |
Won't work for us, because we need a |
action-homebrew-bump-formula
Created with
brew bump-formula-pr
.