haskell.compiler.ghc924Binary: drop#440976
Conversation
|
I have not finished that, yet, but early experiments are promising to bootstrap GHC 9.6.7 with 9.6.3 bindist. So I guess that could be an option as well. |
e43d76c to
755a534
Compare
|
In that case, though, we would either have to not move forward with #440410 and implement this change to make 9.6.3 bootstrap via 9.4.8, or have version divergence between using the cross‐compiled 9.4.8 bootstrap tarball vs. the 9.6.3 binary distribution. |
|
I don't know the "cross‐compiled GHC 9.4 bootstrap tarballs" plan, so I can't really judge which way is best. I'm just generating options to choose from :) |
|
I’m not sure if I fully know it either, but my understanding is:
This means that if we care about supporting a GHC version on a platform, and its bootstrap uses IMO, given 9.4.8’s unique status at present, it makes sense to prefer it for bootstrap paths. Whether that should be by using the source‐based I don’t even use any of this stuff… |
Your work is very much appreciated, though :) |
755a534 to
0414e05
Compare
|
Well, I spent a good few years as a Haskeller, so I have lingering sympathies even if your Nixpkgs infrastructure scares me :) I’m undrafting this, since the obvious issues have been resolved and it still seems like the right direction to me: if 9.4.8 is going to be a load‐bearing part of bootstrap paths, then it should be used as such consistently, and if we’re stuck with 9.4.8 for now anyway, then it’s better to rely on it than adding 9.2 into the equation just for (non‐exotic) bootstrap purposes. I have not actually confirmed that the bootstrap works, and even if it does, @sternenseemann will presumably have more enlightened opinions than I about whether using the source build here makes sense, or whether we should introduce a |
|
Looking into ghc948Binary. |
|
Will rebase this after #444249. I am no longer sure
Maybe I am missing something, but going through the GHC 9.4.8 source build seems like the sensible option for now. |
We’d want every version to be able to trace back to 9.4.8 for the “cross‐compiled GHC bootstrap tarballs” plan, anyway. I’m not sure whether we’d want a `ghc948Binary` package that also includes the official tarballs, or just only use our cross‐compiled binary distributions, but it will make sense to align the version used for bootstrap regardless.
0414e05 to
c9c7344
Compare
|
Done. |
|
Merging to allow all builds in #440774 to actually test the things we are going to ship for 25.11, without having to test all these again, if we merge them in the reverse order. |
I'm not exactly sure whether that refers to "bootstrap GHC 9.6.7 from GHC 9.4.8 bindist" or "cross-compile ghc948Binary via tarballs". In either case, we should be able to do it once you have results and don't need to block here. |
Proposal per #440794 (comment). Stacked on top of that PR; only the last two commits are relevant. Untested.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.