From 4d6a259ee0fe68e6380db5b434eeb0e2fa7d7068 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Sun, 31 Dec 2023 09:53:44 -0500 Subject: [PATCH] Add changelog entry --- changelog.d/issue-9578 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 changelog.d/issue-9578 diff --git a/changelog.d/issue-9578 b/changelog.d/issue-9578 new file mode 100644 index 00000000000..7965604d84b --- /dev/null +++ b/changelog.d/issue-9578 @@ -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 \ No newline at end of file