File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,9 @@ idePlugins includeExamples = pluginDescToIdePlugins allPlugins
108
108
, StylishHaskell. descriptor " stylish-haskell"
109
109
, Retrie. descriptor " retrie"
110
110
#if AGPL
111
+ #if !MIN_VERSION_ghc(8,10,1)
111
112
, Brittany. descriptor " brittany"
113
+ #endif
112
114
#endif
113
115
, Eval. descriptor " eval"
114
116
]
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extra-source-files:
20
20
flag agpl
21
21
Description : Enable AGPL dependencies
22
22
Default : True
23
- Manual : False
23
+ Manual : True
24
24
25
25
flag pedantic
26
26
Description : Enable -Werror
@@ -101,10 +101,11 @@ library
101
101
else
102
102
build-depends : unix
103
103
if flag(agpl)
104
- build-depends :
105
- brittany
106
- exposed-modules :
107
- Ide.Plugin.Brittany
104
+ if impl(ghc < 8.10 )
105
+ build-depends :
106
+ brittany
107
+ exposed-modules :
108
+ Ide.Plugin.Brittany
108
109
109
110
ghc-options :
110
111
-Wall
You can’t perform that action at this time.
0 commit comments