Skip to content

Commit 80775bf

Browse files
committed
Disable Brittany for GHC Versions >= 8.10.1
1 parent f3da326 commit 80775bf

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Diff for: exe/Main.hs

+2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ idePlugins includeExamples = pluginDescToIdePlugins allPlugins
106106
, Ormolu.descriptor "ormolu"
107107
, StylishHaskell.descriptor "stylish-haskell"
108108
#if AGPL
109+
#if !MIN_VERSION_ghc(8.10.1)
109110
, Brittany.descriptor "brittany"
111+
#endif
110112
#endif
111113
, Eval.descriptor "eval"
112114
]

Diff for: haskell-language-server.cabal

+5-4
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ library
9494
else
9595
build-depends: unix
9696
if flag(agpl)
97-
build-depends:
98-
brittany
99-
exposed-modules:
100-
Ide.Plugin.Brittany
97+
if impl(ghc < 8.10)
98+
build-depends:
99+
brittany
100+
exposed-modules:
101+
Ide.Plugin.Brittany
101102

102103
ghc-options:
103104
-Wall

0 commit comments

Comments
 (0)