Skip to content

Commit cb11a85

Browse files
committed
Use both ghc and ghc-lib
1 parent 9bc1099 commit cb11a85

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
@@ -146,13 +146,17 @@ library hlint-plugin
146146
, unordered-containers
147147
if !flag(ghc-lib) && impl(ghc >= 8.10.1) && impl(ghc < 8.11.0)
148148
build-depends:
149-
ghc == 8.10.*
149+
ghc == 8.10.*
150150
else
151151
build-depends:
152-
ghc-lib == 8.10.*
152+
ghc
153+
, ghc-lib == 8.10.*
154+
, ghc-lib-parser-ex == 8.10.*
153155
cpp-options:
154-
-DGHC_LIB
155-
156+
-DGHC_LIB
157+
mixins:
158+
ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)
159+
156160
ghc-options:
157161
-Wall
158162
-Wredundant-constraints

0 commit comments

Comments
 (0)