1 synopsis: Show provenance of project constraints
3 Show imports when the solver rejects a package version due to a project
4 constraint. Even though imports are relative to their parent when imported,
5 their paths are shown relative to the directory of the project in the solver
9 $ cabal build all --dry-run
11 [__1] next goal: hashable
12 [__1] rejecting: hashable-1.4.3.0
13 (constraint from cabal.project requires ==1.4.2.0)
14 [__1] rejecting: hashable-1.4.2.0
15 (constraint from project-stackage/nightly-2023-12-07.config requires ==1.4.3.0)
16 imported by: cabal.project
19 Fixes some test failures detecting cycles in imports, when;
21 - the wrong import was reported as starting the cycle
22 - a cycle was reported that wasn't actually a cycle
24 packages: cabal-install-solver cabal-install