Skip to content

Commit acf3603

Browse files
committed
Fix wrong allow-newer brittany entries
1 parent ee71a89 commit acf3603

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

cabal.project

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ allow-newer:
6060
retrie:ghc-exactprint,
6161

6262
-- for brittany
63-
brittany:ghc-boot,
64-
brittany:ghc-boot-th,
65-
brittany:ghc,
66-
brittany:ghc-exactprint,
67-
brittany:bytestring,
68-
brittany:base,
6963
-- https://github.com/lspitzner/multistate/pull/8
7064
multistate:base,
7165
-- https://github.com/lspitzner/data-tree-print/pull/3

plugins/hls-brittany-plugin/hls-brittany-plugin.cabal

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ extra-source-files:
1717
test/testdata/**/*.hs
1818

1919
library
20+
if impl(ghc >= 9.2)
21+
buildable: False
22+
else
23+
buildable: True
2024
exposed-modules: Ide.Plugin.Brittany
2125
hs-source-dirs: src
2226
build-depends:
@@ -39,6 +43,10 @@ library
3943
default-language: Haskell2010
4044

4145
test-suite tests
46+
if impl(ghc >= 9.2)
47+
buildable: False
48+
else
49+
buildable: True
4250
type: exitcode-stdio-1.0
4351
default-language: Haskell2010
4452
hs-source-dirs: test

0 commit comments

Comments
 (0)