Skip to content

fix(Cabal): Do not pass -optJSP to GHC < 9.10.2 - #12398

Open
zlonast wants to merge 1 commit into
haskell:masterfrom
zlonast:zlonast/no-optJSP-before-9.12
Open

zlonast wants to merge 1 commit into
haskell:masterfrom
zlonast:zlonast/no-optJSP-before-9.12

Conversation

@zlonast

@zlonast zlonast commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

The jspp-options field is rendered as ghc -optJSP<opt>, but that flag only exists since GHC 9.10.2, so a package using jspp-options could not be built at all with GHC < 9.10.2.


Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

hummbl-dev

This comment was marked as spam.

@zlonast
zlonast force-pushed the zlonast/no-optJSP-before-9.12 branch from 7ad37df to 688c9c7 Compare October 7, 2026 17:49
@zlonast zlonast changed the title fix(Cabal): Do not pass -optJSP to GHC < 9.12 fix(Cabal): Do not pass -optJSP to GHC < 9.10.2 Oct 7, 2026
@zlonast
zlonast force-pushed the zlonast/no-optJSP-before-9.12 branch from 688c9c7 to 4c868e2 Compare October 7, 2026 17:51
@zlonast
zlonast force-pushed the zlonast/no-optJSP-before-9.12 branch from 4c868e2 to 4f4782a Compare October 7, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants