From 3ff3341bd4b328611d565d9873cd2eacdc4e0178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CB=8Cbod=CA=B2=C9=AA=CB=88=C9=A1r=CA=B2im?= Date: Fri, 8 Jul 2022 22:37:06 +0100 Subject: [PATCH 1/2] ghcide: lower bounds Before `ghc-exactprint-1.4` some `instance Default` are missing. `UnliftIO.Directory` appears only in `unliftio-0.2.6`. `tasty-hunit < 0.10` does not re-export `HasCallStack`. --- ghcide/ghcide.cabal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index b8b7b006da..591f32ec1b 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -59,7 +59,7 @@ library filepath, fingertree, focus, - ghc-exactprint, + ghc-exactprint >= 1.4, ghc-trace-events, Glob, haddock-library >= 1.8 && < 1.11, @@ -102,7 +102,7 @@ library vector, opentelemetry >=0.6.1, heapsize ==0.3.*, - unliftio, + unliftio >= 0.2.6, unliftio-core, ghc-boot-th, ghc-boot, @@ -432,7 +432,7 @@ test-suite ghcide-tests hls-graph, tasty, tasty-expected-failure, - tasty-hunit, + tasty-hunit >= 0.10, tasty-quickcheck, tasty-rerun, text, @@ -497,7 +497,7 @@ executable ghcide-bench safe-exceptions, hls-graph, shake, - tasty-hunit, + tasty-hunit >= 0.10, text hs-source-dirs: bench/lib bench/exe test/src ghc-options: -threaded -Wall -Wno-name-shadowing -rtsopts From a00ec0f86108c57444c447d92c1148bb7a5c04f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CB=8Cbod=CA=B2=C9=AA=CB=88=C9=A1r=CA=B2im?= Date: Fri, 8 Jul 2022 22:42:47 +0100 Subject: [PATCH 2/2] Correct bounds for ghc-exactprint --- ghcide/ghcide.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index 591f32ec1b..e91c296f36 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -59,7 +59,7 @@ library filepath, fingertree, focus, - ghc-exactprint >= 1.4, + ghc-exactprint < 1 || >= 1.4, ghc-trace-events, Glob, haddock-library >= 1.8 && < 1.11,