From e66d0ec2c30d8043153d4743fa3a1de6a771fa4f Mon Sep 17 00:00:00 2001 From: jneira Date: Wed, 8 Sep 2021 23:00:39 +0200 Subject: [PATCH] Set bounds for retrie by ghc --- ghcide/ghcide.cabal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index ca358d012d..3929c1ab07 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -71,7 +71,6 @@ library prettyprinter-ansi-terminal, prettyprinter, regex-tdfa >= 1.3.1.0, - retrie, rope-utf16-splay, safe, safe-exceptions, @@ -110,6 +109,13 @@ library build-depends: unix + if impl(ghc < 8.8 ) + build-depends: + retrie < 1.0.0.0 + else + build-depends: + retrie >= 1.0.0.0 + if impl(ghc < 8.10.5) build-depends: ghc-api-compat ==8.6