Resolving dependencies... Error: cabal: Could not resolve dependencies: [__0] trying: egison-pattern-src-0.2.1.2 (user goal) [__1] next goal: free (dependency of egison-pattern-src) [__1] rejecting: free-5.2 (conflict: egison-pattern-src => free>=5.0.1 && <5.2) [__1] trying: free-5.1.10 [__2] next goal: template-haskell (dependency of free) [__2] rejecting: template-haskell-2.21.0.0/installed-inplace (conflict: free => template-haskell>=2.7.0.0 && <2.21) [__2] skipping: template-haskell-2.23.0.0, template-haskell-2.22.0.0, template-haskell-2.21.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=2.7.0.0 && <2.21' from 'free') [__2] 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) [__2] fail (backjumping, conflict set: free, template-haskell) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: free, egison-pattern-src, template-haskell, base Try running with --minimize-conflict-set to improve the error message.