-
Notifications
You must be signed in to change notification settings - Fork 711
plan execution fails to build computed dependency #4432
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
Comments
Looking a bit closer at the output, I notice that part of the problem is And in fact, if I use @grayjay Is there a generic way to control whether qualified goals pick up local/inplace packages? |
It is "expected", in the sense that if you inplace Cabal or any other package that might get picked up by custom setup depends, it will force the setup script to be built this way. But I think you could reasonably want it to go either way. I thought I've complained about this before but I can't find the ticket. 9aa4b9f and f9139d7 and 3003d06 may be of interest. I haven't looked at the actual bug you reported. |
@ezyang I see; well, if either way can be argued for, one just needs a way to let the user control which way to use, and then decide on the default which is most popular... Btw, |
Here's a previous discussion about the topic: #3706 (comment) I think we do need a new type of constraint to specify whether cabal should use the local copy of a package. I would rather add a local vs non-local constraint than an inplace vs non-inplace constraint. Local vs non-local seems more simple and direct, because it only determines what source code is used for the package that the constraint applies to. |
I agree, local/non-local makes more sense. |
Uh oh!
There was an error while loading. Please reload this page.
This currently affects the
2.0
andmaster
branchI've create a reasonably minimal repro-case over at https://github.com/hvr/cabal-bugs/tree/master/issue-4432 (the
rm -rf
part is probably not necessary for reproducing this) . You can see the problem below; I suspect that this may be a corner case involving a localCabal
library.And here's the dep-tree (pretty-printed by
cabal-plan
):The text was updated successfully, but these errors were encountered: