Skip to content

Commit 2ea8c83

Browse files
committed
Typo, pr-9578
1 parent 23310d9 commit 2ea8c83

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

changelog.d/pr-9578

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
synopsis: Show provenance of project constraints
2+
description:
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
6+
output.
7+
8+
```
9+
$ cabal build all --dry-run
10+
...
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
17+
```
18+
19+
Fixes some test failures detecting cycles in imports, when;
20+
21+
- the wrong import was reported as starting the cycle
22+
- a cycle was reported that wasn't actually a cycle
23+
24+
packages: cabal-install-solver cabal-install
25+
prs: #9578
26+
issues: #9562

0 commit comments

Comments
 (0)