Skip to content

Commit 37b00ed

Browse files
committed
Use both ghc and ghc-lib
1 parent 859a85f commit 37b00ed

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

haskell-language-server.cabal

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,17 @@ library hlint-plugin
144144
, unordered-containers
145145
if !flag(ghc-lib) && impl(ghc >= 8.10.1) && impl(ghc < 8.11.0)
146146
build-depends:
147-
ghc == 8.10.*
147+
ghc == 8.10.*
148148
else
149149
build-depends:
150-
ghc-lib == 8.10.*
150+
ghc
151+
, ghc-lib == 8.10.*
152+
, ghc-lib-parser-ex == 8.10.*
151153
cpp-options:
152-
-DGHC_LIB
153-
154+
-DGHC_LIB
155+
mixins:
156+
ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)
157+
154158
ghc-options:
155159
-Wall
156160
-Wredundant-constraints

0 commit comments

Comments
 (0)