lambdabot: apply upstream patches for GHC 9.0.2 support#165014
lambdabot: apply upstream patches for GHC 9.0.2 support#165014maralorn merged 5 commits intoNixOS:haskell-updatesfrom
Conversation
c554956 to
a2b4518
Compare
|
Thank you for your fixes, especially for creating the upstream PR!
Can you change the PR to accommodate that, or explain why that’s not feasible? |
a2b4518 to
f29fe0a
Compare
|
Done (and tested again). Wasn't sure where to put my changes in |
|
Okay that’s already better. Now, there is one thing I should have warned you about. We try to not accumulated patches in nixpkgs, but rather use Since you are patching different packages in the same commit, if I am not mistaken, this would be a bit finnicky with fetchpatch. Do you want to try that? If it’s too annoying, I think I could be convinced to merge this as is … |
|
I managed for dice. For misfortune the PR is based on master which has a few more commits than the latest hackage release, and the patch doesn't apply cleanly. We would need to fetch two more commits from master for the patch to apply. I also can't just For lambdabot, what you suggest doesn't seem possible because the Note that in both cases (misfortune and lambdabot), the only commits on top of the latest release are adjustments to CI, documentation or cabal files, so maybe we could fetch the source from the PR as I did initially and keep the version as-is since there are no code changes. |
f29fe0a to
9b2781d
Compare
|
Yeah, the stripLen/excludes order is really annoying. Thank you for trying. I guess we should choose our battles wisely and not sink any more work into a working fix. |
I am not a very wise person #165327. (Let's not block this PR on that one though) |
|
thx for patching |
Tested by building
lambdabotand runningdice d10(from the dice plugin) andyow(from the fortune plugin) at the prompt.