From d071ebbac4063e24ac1fdbddcaedecb624ccff13 Mon Sep 17 00:00:00 2001 From: jneira Date: Tue, 7 Jul 2020 06:29:48 +0200 Subject: [PATCH] Use both ghc and ghc-lib --- haskell-language-server.cabal | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 587a2e8ae71..56280b30482 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -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