Skip to content

Commit cbeb702

Browse files
committed
fix hls-eval-plugin
1 parent a2f26e8 commit cbeb702

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

plugins/hls-eval-plugin/hls-eval-plugin.cabal

+10-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ library
6161
, extra
6262
, filepath
6363
, ghc
64-
, ghc-api-compat
6564
, ghc-boot-th
6665
, ghc-paths
6766
, ghcide >=1.2 && <1.5
@@ -82,6 +81,16 @@ library
8281
, transformers
8382
, unliftio
8483
, unordered-containers
84+
85+
if impl(ghc < 8.10.5)
86+
build-depends:
87+
ghc-api-compat ==8.6
88+
elif impl(ghc == 8.10.5)
89+
build-depends:
90+
ghc-api-compat ==8.10.5
91+
elif impl(ghc > 8.10.5) && impl(ghc < 9)
92+
build-depends:
93+
ghc-api-compat ==8.10.6
8594

8695
ghc-options:
8796
-Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors

0 commit comments

Comments
 (0)