Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions cabal-ghc901.project
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,12 @@ index-state: 2021-11-29T08:11:07Z

constraints:
-- These plugins don't work on GHC9 yet
haskell-language-server +ignore-plugins-ghc-bounds -brittany -class -stylishhaskell -tactic,
haskell-language-server +ignore-plugins-ghc-bounds -class -stylishhaskell -tactic,
ghc-lib-parser ^>= 9.0

-- although we are not building all plugins cabal solver phase is run for all packages
-- this way we track explicitly all transitive dependencies which need support for ghc-9
allow-newer:
brittany:base,
brittany:ghc,
brittany:ghc-boot-th,
-- for brittany
butcher:base,
multistate:base,
data-tree-print:base,

stylish-haskell:Cabal,
stylish-haskell:ghc-lib-parser,
Expand Down
2 changes: 1 addition & 1 deletion haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ common stylishHaskell
cpp-options: -DstylishHaskell

common brittany
if flag(brittany) && (impl(ghc < 9.0.1) || flag(ignore-plugins-ghc-bounds))
if flag(brittany) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
build-depends: hls-brittany-plugin ^>=1.0.0.1
cpp-options: -Dbrittany

Expand Down