Skip to content

Commit

Permalink
Disable Brittany for GHC Versions >= 8.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Jul 29, 2020
1 parent f3da326 commit 80775bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ idePlugins includeExamples = pluginDescToIdePlugins allPlugins
, Ormolu.descriptor "ormolu"
, StylishHaskell.descriptor "stylish-haskell"
#if AGPL
#if !MIN_VERSION_ghc(8.10.1)
, Brittany.descriptor "brittany"
#endif
#endif
, Eval.descriptor "eval"
]
Expand Down
9 changes: 5 additions & 4 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ library
else
build-depends: unix
if flag(agpl)
build-depends:
brittany
exposed-modules:
Ide.Plugin.Brittany
if impl(ghc < 8.10)
build-depends:
brittany
exposed-modules:
Ide.Plugin.Brittany

ghc-options:
-Wall
Expand Down

0 comments on commit 80775bf

Please sign in to comment.