Resolving dependencies... cabal: Could not resolve dependencies: [__0] next goal: tomlcheck (user goal) [__0] rejecting: tomlcheck-0.1.0.40, tomlcheck-0.1.0.39, tomlcheck-0.1.0.38, tomlcheck-0.1.0.36, tomlcheck-0.1.0.29 (constraint from user target requires ==0.1.0.23) [__0] trying: tomlcheck-0.1.0.23 [__1] trying: megaparsec-9.0.1 (dependency of tomlcheck) [__2] next goal: htoml-megaparsec (dependency of tomlcheck) [__2] rejecting: htoml-megaparsec-2.1.0.4 (conflict: tomlcheck => htoml-megaparsec>=1.0.1.11 && <2.1.0.0) [__2] skipping: htoml-megaparsec-2.1.0.3, htoml-megaparsec-2.1.0.2, htoml-megaparsec-2.1.0.1, htoml-megaparsec-2.1.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=1.0.1.11 && <2.1.0.0' from 'tomlcheck') [__2] rejecting: htoml-megaparsec-2.0.0.2 (conflict: megaparsec==9.0.1, htoml-megaparsec => megaparsec>=6.0.0 && <7.0.0) [__2] skipping: htoml-megaparsec-2.0.0.1, htoml-megaparsec-2.0.0.0, htoml-megaparsec-1.2.0.2, htoml-megaparsec-1.2.0.1, htoml-megaparsec-1.1.0.4, htoml-megaparsec-1.1.0.3, htoml-megaparsec-1.1.0.2, htoml-megaparsec-1.1.0.1, htoml-megaparsec-1.1.0.0, htoml-megaparsec-1.0.1.12, htoml-megaparsec-1.0.1.11, htoml-megaparsec-1.0.1.10, htoml-megaparsec-1.0.1.9, htoml-megaparsec-1.0.1.8, htoml-megaparsec-1.0.1.7, htoml-megaparsec-1.0.1.6, htoml-megaparsec-1.0.1.5, htoml-megaparsec-1.0.1.4, htoml-megaparsec-1.0.1.3, htoml-megaparsec-1.0.1.2, htoml-megaparsec-1.0.1.1, htoml-megaparsec-1.0.1.0, htoml-megaparsec-1.0.0.4 (has the same characteristics that caused the previous version to fail: excludes 'megaparsec' version 9.0.1) [__2] fail (backjumping, conflict set: htoml-megaparsec, megaparsec, tomlcheck) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: megaparsec, base, htoml-megaparsec, tomlcheck Try running with --minimize-conflict-set to improve the error message.