Resolving dependencies... Error: cabal: Could not resolve dependencies: [__0] trying: stack-2.15.3 (user goal) [__1] trying: yaml-0.11.11.2 (dependency of stack) [__2] trying: scientific-0.3.7.0 (dependency of yaml) [__3] trying: hashable-1.4.3.0 (dependency of scientific) [__4] next goal: deepseq (dependency of scientific) [__4] rejecting: deepseq-1.4.8.1/installed-1.4.8.1 (conflict: stack => array>=0.5.6.0, deepseq => array==0.5.5.0/installed-0.5.5.0) [__4] trying: deepseq-1.5.0.0 [__5] trying: template-haskell-2.20.0.0/installed-2.20.0.0 (dependency of stack) [__6] next goal: pretty (dependency of stack) [__6] rejecting: pretty-1.1.3.6/installed-1.1.3.6 (conflict: deepseq==1.5.0.0, pretty => deepseq==1.4.8.1/installed-1.4.8.1) [__6] rejecting: pretty-1.1.3.6, pretty-1.1.3.5, pretty-1.1.3.4, pretty-1.1.3.3, pretty-1.1.3.2, pretty-1.1.3.1, pretty-1.1.2.1, pretty-1.1.2.0, pretty-1.1.1.3, pretty-1.1.1.2, pretty-1.1.1.1, pretty-1.1.1.0, pretty-1.1.0.0, pretty-1.0.1.2, pretty-1.0.1.1, pretty-1.0.1.0, pretty-1.0.0.0 (conflict: template-haskell => pretty==1.1.3.6/installed-1.1.3.6) [__6] fail (backjumping, conflict set: deepseq, pretty, stack, template-haskell) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: template-haskell, stack, pretty, deepseq, base, scientific, hashable, yaml Try running with --minimize-conflict-set to improve the error message.