Resolving dependencies... Error: cabal: Could not resolve dependencies: [__0] trying: haddock-2.29.1 (user goal) [__1] trying: haddock:-in-ghc-tree [__2] trying: haddock-api-2.29.1 (dependency of haddock -in-ghc-tree) [__3] next goal: ghc (dependency of haddock-api) [__3] rejecting: ghc-9.2.4/installed-9.2.4 (conflict: haddock-api => ghc^>=9.6) [__3] trying: ghc-9.6.3 [__4] next goal: template-haskell (dependency of ghc) [__4] rejecting: template-haskell-2.18.0.0/installed-2.18.0.0 (conflict: ghc => template-haskell>=2.20 && <2.21) [__4] rejecting: template-haskell-2.20.0.0, template-haskell-2.19.0.0, template-haskell-2.18.0.0, template-haskell-2.17.0.0, template-haskell-2.16.0.0, template-haskell-2.15.0.0, template-haskell-2.14.0.0, template-haskell-2.13.0.0, template-haskell-2.12.0.0, template-haskell-2.11.1.0, template-haskell-2.11.0.0, template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0, template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0, template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1, template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from non-upgradeable package requires installed instance) [__4] fail (backjumping, conflict set: ghc, template-haskell) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ghc, haddock-api, template-haskell, haddock, haddock:in-ghc-tree Try running with --minimize-conflict-set to improve the error message.