Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: hw-json-demo-1.0.0.0 (user goal) [__1] next goal: hw-rankselect (dependency of hw-json-demo) [__1] rejecting: hw-rankselect-0.13.4.1 (conflict: hw-json-demo => hw-rankselect>=0.12.0.4 && <0.13) [__1] skipping: hw-rankselect-0.13.4.0, hw-rankselect-0.13.3.2, hw-rankselect-0.13.3.1, hw-rankselect-0.13.3.0, hw-rankselect-0.13.2.0, hw-rankselect-0.13.1.0, hw-rankselect-0.13.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=0.12.0.4 && <0.13' from 'hw-json-demo') [__1] trying: hw-rankselect-0.12.0.4 [__2] next goal: optparse-applicative (dependency of hw-rankselect) [__2] rejecting: optparse-applicative-0.17.0.0 (conflict: hw-rankselect => optparse-applicative>=0.11 && <0.15) [__2] skipping: optparse-applicative-0.16.1.0, optparse-applicative-0.16.0.0, optparse-applicative-0.15.1.0, optparse-applicative-0.15.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=0.11 && <0.15' from 'hw-rankselect') [__2] trying: optparse-applicative-0.14.3.0 [__3] next goal: process (dependency of optparse-applicative) [__3] rejecting: process-1.6.9.0/installed-1.6.9.0 (conflict: optparse-applicative => base>=4 && <4.13, process => base==4.14.1.0/installed-4.14.1.0) [__3] trying: process-1.6.14.0 [__4] next goal: directory (dependency of hw-rankselect) [__4] rejecting: directory-1.3.6.0/installed-1.3.6.0 (conflict: optparse-applicative => base>=4 && <4.13, directory => base==4.14.1.0/installed-4.14.1.0) [__4] trying: directory-1.3.7.0 [__5] next goal: base (dependency of hw-json-demo) [__5] rejecting: base-4.14.1.0/installed-4.14.1.0 (conflict: optparse-applicative => base>=4 && <4.13) [__5] skipping: base-4.16.1.0, base-4.16.0.0, base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0, base-4.14.0.0, base-4.13.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=4 && <4.13' from 'optparse-applicative') [__5] rejecting: base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable package requires installed instance) [__5] fail (backjumping, conflict set: base, hw-json-demo, optparse-applicative) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: process, hw-rankselect, optparse-applicative, directory, base, hw-json-demo Try running with --minimize-conflict-set to improve the error message.