Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 93bb4f9

Browse files
authored
Merge pull request #1355 from LinuxUser404/master
Made hlint dependency properly depend on version of ghc.
2 parents 3421a0e + 4518744 commit 93bb4f9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

haskell-ide-engine.cabal

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ library
7474
, haskell-lsp-types == 0.15.*
7575
, haskell-src-exts
7676
, hie-plugin-api
77-
, hlint (>= 2.0.11 && < 2.1.18) || >= 2.1.22
7877
, hoogle >= 5.0.13
7978
, hsimport
8079
, hslogger
@@ -98,6 +97,11 @@ library
9897
, vector
9998
, versions
10099
, yaml >= 0.8.31
100+
if impl(ghc < 8.4)
101+
build-depends: hlint >= 2.0.11 && < 2.1.18
102+
else
103+
build-depends: hlint >= 2.2.2
104+
101105
ghc-options: -Wall -Wredundant-constraints
102106
if flag(pedantic)
103107
ghc-options: -Werror

0 commit comments

Comments
 (0)