Skip to content

Commit 4903092

Browse files
committed
alternateNumberFormat and explicitFixity don't build on GHC 9.4
1 parent a85aaa1 commit 4903092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-language-server.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ common splice
271271
cpp-options: -Dhls_splice
272272

273273
common alternateNumberFormat
274-
if flag(alternateNumberFormat)
274+
if flag(alternateNumberFormat) && (impl(ghc < 9.4.1) || flag(ignore-plugins-ghc-bounds))
275275
build-depends: hls-alternate-number-format-plugin ^>= 1.2
276276
cpp-options: -Dhls_alternateNumberFormat
277277

@@ -296,7 +296,7 @@ common gadt
296296
cpp-options: -Dhls_gadt
297297

298298
common explicitFixity
299-
if flag(explicitFixity)
299+
if flag(explicitFixity) && (impl(ghc < 9.4.1) || flag(ignore-plugins-ghc-bounds))
300300
build-depends: hls-explicit-fixity-plugin ^>= 1.0
301301
cpp-options: -DexplicitFixity
302302

0 commit comments

Comments
 (0)