Skip to content

Commit

Permalink
fix hls-eval-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Sep 5, 2021
1 parent a2f26e8 commit cbeb702
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion plugins/hls-eval-plugin/hls-eval-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ library
, extra
, filepath
, ghc
, ghc-api-compat
, ghc-boot-th
, ghc-paths
, ghcide >=1.2 && <1.5
Expand All @@ -82,6 +81,16 @@ library
, transformers
, unliftio
, unordered-containers

if impl(ghc < 8.10.5)
build-depends:
ghc-api-compat ==8.6
elif impl(ghc == 8.10.5)
build-depends:
ghc-api-compat ==8.10.5
elif impl(ghc > 8.10.5) && impl(ghc < 9)
build-depends:
ghc-api-compat ==8.10.6

ghc-options:
-Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
Expand Down

0 comments on commit cbeb702

Please sign in to comment.