-
Notifications
You must be signed in to change notification settings - Fork 710
Spurious reinstallation of add-source'd dependencies #2667
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
I've seen this too, it's a right PITA. We should really track it down. It's one of the items in #2631. @bitemyapp can you make a recipe to reproduce it reliably? |
I spent some time on this issue. This causes the package to be installed twice:
|
@grayjay I think that this solution should be OK. Please do a pull request, and I'll take a look. Note that you also need to support the following case:
|
@23Skidoo I'm not sure how As far as I can tell, cabal uses the source that was last added to the index. In your example, |
sandbox functionality is removed. |
I'm trying to make something like an idempotent build process that doesn't rebuild any more than it needs to.
Problem I'm running into is that even if the vendored dependencies haven't changed, running:
Will force reinstallation of
blah
even if it hasn't changed at all.The text was updated successfully, but these errors were encountered: