-
Notifications
You must be signed in to change notification settings - Fork 712
Fix bug in link validation #3237
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
Conversation
When we are choosing to link a package (`pickLink`), it is possible that that package was _already_ linked (because its reverse dependencies got linked). Thus, this requires a merge of link groups: it is not correct to simply add the package into the target link group. This fixes #2842.
@grayjay I think that having them in the repo (even if they were disabled by default) could be useful. |
Yup, I agree with @23Skidoo . That would definitely be a good thing to have! |
Great! I'll work on a PR. |
I've merged these patches to the nix-local-build branch (along with all the other recent solver PRs). |
I opened a PR for the quickcheck tests: #3245 |
@23Skidoo Would you like me to merge these PRs? |
Oh, @kosmikus has said that he will try to review before the release date; I'll hold off then. |
This has been merged into and subsumed by #3357 . |
When we are choosing to link a package (
pickLink
), it is possible that that package was already linked (because its reverse dependencies got linked). Thus, this requires a merge of link groups: it is not correct to simply add the package into the target link group.This fixes #2842. Thank you @grayjay for yet another very high quality bug report! All this independent goals/linking is all very new so it's really great to have somebody like you taking such a detailed look at it. Much appreciated!
Pinging @kosmikus and @dcoutts .