Skip to content

Commit bab1bb6

Browse files
committed
Use both ghc and ghc-lib
1 parent 6e7451a commit bab1bb6

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
@@ -154,13 +154,17 @@ library hlint-plugin
154154
, unordered-containers
155155
if !flag(ghc-lib) && impl(ghc >= 8.10.1) && impl(ghc < 8.11.0)
156156
build-depends:
157-
ghc == 8.10.*
157+
ghc == 8.10.*
158158
else
159159
build-depends:
160-
ghc-lib == 8.10.*
160+
ghc
161+
, ghc-lib == 8.10.*
162+
, ghc-lib-parser-ex == 8.10.*
161163
cpp-options:
162-
-DGHC_LIB
163-
164+
-DGHC_LIB
165+
mixins:
166+
ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)
167+
164168
ghc-options:
165169
-Wall
166170
-Wredundant-constraints

0 commit comments

Comments
 (0)