diff --git a/core/ghc-mod-core.cabal b/core/ghc-mod-core.cabal index ddc5afed7..1810222d8 100644 --- a/core/ghc-mod-core.cabal +++ b/core/ghc-mod-core.cabal @@ -109,7 +109,6 @@ Library , temporary < 1.3 && >= 1.2.0.3 , transformers-base < 0.5 && >= 0.4.4 - , cabal-helper < 0.9 && >= 0.8.0.2 , ghc < 8.5 && >= 7.6 if impl(ghc >= 8.0) @@ -118,6 +117,10 @@ Library Build-Depends: convertible < 1.2 && >= 1.1.0.0 if impl(ghc < 8.4) Build-Depends: ghc-syb-utils < 0.3 && >= 0.2.3 + if impl(ghc < 8.2) + Build-Depends: cabal-helper == 0.8.0.2 + else + Build-Depends: cabal-helper < 0.9 && >= 0.8.0.2 Source-Repository head Type: git