-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4089e12
commit 4d6a259
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
synopsis: Show provenance of project constraints | ||
description: | ||
When the solver rejects a package version show the provenance of the | ||
"requires" version constraint as a path in the project configuration import | ||
tree: | ||
|
||
``` | ||
$ cabal build all --dry-run | ||
... | ||
[__1] next goal: hashable | ||
[__1] rejecting: hashable-1.4.3.0 (constraint from project requires ==1.4.2.0) | ||
+-- cabal.project requires ==1.4.2.0 | ||
[__1] rejecting: hashable-1.4.2.0 (constraint from project requires ==1.4.3.0) | ||
+-- cabal.project | ||
+-- https://www.stackage.org/nightly-2023-12-07/cabal.config requires ==1.4.3.0 | ||
``` | ||
|
||
packages: cabal-install | ||
prs: #9578 | ||
issues: #9562 |