Skip to content

Commit f32cde1

Browse files
committed
Use both ghc and ghc-lib
1 parent 5736378 commit f32cde1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: haskell-language-server.cabal

+8-4
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,17 @@ library hlint-plugin
145145
, unordered-containers
146146
if !flag(ghc-lib) && impl(ghc >= 8.10.1) && impl(ghc < 8.11.0)
147147
build-depends:
148-
ghc == 8.10.*
148+
ghc == 8.10.*
149149
else
150150
build-depends:
151-
ghc-lib == 8.10.*
151+
ghc
152+
, ghc-lib == 8.10.*
153+
, ghc-lib-parser-ex == 8.10.*
152154
cpp-options:
153-
-DGHC_LIB
154-
155+
-DGHC_LIB
156+
mixins:
157+
ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)
158+
155159
ghc-options:
156160
-Wall
157161
-Wredundant-constraints

0 commit comments

Comments
 (0)