Skip to content

Commit

Permalink
Use both ghc and ghc-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Jul 7, 2020
1 parent b807b10 commit d071ebb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,17 @@ library hlint-plugin
, unordered-containers
if !flag(ghc-lib) && impl(ghc >= 8.10.1) && impl(ghc < 8.11.0)
build-depends:
ghc == 8.10.*
ghc == 8.10.*
else
build-depends:
ghc-lib == 8.10.*
ghc
, ghc-lib == 8.10.*
, ghc-lib-parser-ex == 8.10.*
cpp-options:
-DGHC_LIB

-DGHC_LIB
mixins:
ghc (GHC as RealGHC, HscTypes as RealGHC.HscTypes, EnumSet as RealGHC.EnumSet)

ghc-options:
-Wall
-Wredundant-constraints
Expand Down

0 comments on commit d071ebb

Please sign in to comment.