Skip to content

Commit 8c9a71e

Browse files
Revert workaround to filter JavaScriptFFI out on GHC versions where G… (#8979)
* Revert workaround to filter JavaScriptFFI out on GHC versions where GHC issue 11214 is fixed. * Lint * Lint * Update version range to reflect the fix being included in GHC 9.8 --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent aee92c9 commit 8c9a71e

File tree

1 file changed

+2
-1
lines changed
  • Cabal/src/Distribution/Simple

1 file changed

+2
-1
lines changed

Cabal/src/Distribution/Simple/GHC.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,10 @@ configure verbosity hcPath hcPkgPath conf0 = do
232232

233233
ghcInfo <- Internal.getGhcInfo verbosity implInfo ghcProg
234234
let ghcInfoMap = Map.fromList ghcInfo
235+
filterJS = if ghcVersion < mkVersion [9, 8] then filterExt JavaScriptFFI else id
235236
extensions =
236237
-- workaround https://gitlab.haskell.org/ghc/ghc/-/issues/11214
237-
filterExt JavaScriptFFI $
238+
filterJS $
238239
-- see 'filterExtTH' comment below
239240
filterExtTH $
240241
extensions0

0 commit comments

Comments
 (0)