Skip to content

Conversation

dten
Copy link
Contributor

@dten dten commented Oct 11, 2025

fixed #2432

not sure if this is how you'd like to do but since there was already a patch for Cabal-3.11 and ghc-9.10 I took this as reasonable method

the alex patch comes from a ghc MR so should not be needed in future https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13782

the Cabal one is inspired by the patch already applied for 9.10 to build with Cabal-3.11

the Setup files in ghc master still don't support 3.14 so i guess 9.14 will need to apply the patch too when supported

@dten dten changed the title Patches for 9.12 for redistributable libraries to build Patches for 9.12 for reinstallable libraries to build Oct 11, 2025
@dten
Copy link
Contributor Author

dten commented Oct 11, 2025

hmm whilst this fixes the linked issue's repro my own project progresses but stops at the below when targetting nightly-2025-10-01. i'll dig some more

       > Configuring library for hashable-1.5.0.0...
       > Error: [Cabal-8010]
       > Encountered missing or private dependencies:
       >     ghc-bignum >=1.3 && <1.4

the alex patch comes from a ghc MR so should not be needed in future
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13782
the Cabal one is inspired by the patch already applied for 9.10 to build with Cabal-3.11
@dten dten force-pushed the fix-9.12-redistributable branch from 0ed7f69 to 26389be Compare October 11, 2025 18:36
@dten
Copy link
Contributor Author

dten commented Oct 11, 2025

ah it was a local issue this patch should be all good 🤞

(I had half of another attempted fix still in confusing it)

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

Successfully merging this pull request may close these issues.

Can't build a project with GHC 9.12 if it has "ghc" library dependency

1 participant