-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show the import path when reporting solver rejections from project constraints? #9562
Comments
Hello,
Here, When I run
(In my mind, My current hypothesis is that your PR (#9578) does the correct thing, but that something in Cabal is causing these dependencies to be added as "user target" constraints rather than |
Update: It seems that this error comes from Cabal attempting to resolve the packages in the workspace, before it attempts to figure out what you actually want built. |
@9999years Could you please open a new issue for the problem with user target constraints? The fix for this issue only added more information to project config constraints, so I wouldn't expect it to have any effect on whether constraints are labeled as "project config" or "user target". It would also help to see the part of cabal.project that could be adding these packages as targets. |
Could we show the import path when reporting solver rejections from project constraints?
Here's a mockup example using ascii
+--
as the leader instead of the└──
leader of thetree
command output:I'd tried using
└──
leader but it doesn't render properly. The output could be moved further left if desired but I didn't want to interrupt the flow of the[__n]
step indicators.What we show now:
To generate the above, I ran the following with a test project I have in the works for #9510.
The text was updated successfully, but these errors were encountered: