Skip to content

Allocate different ComponentId for lib and exe. #4022

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

Merged
merged 1 commit into from
Oct 22, 2016

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Oct 21, 2016

In the old code, we assumed that only libraries could get
installed, but with executable dependencies this is no
longer true. Handle it correctly.

This bug caused cycles in the elaborated install plan which
could cause dependency closure to fail, resulting in
weird errors.

Fixes #3996.

Signed-off-by: Edward Z. Yang [email protected]

In the old code, we assumed that only libraries could get
installed, but with executable dependencies this is no
longer true.  Handle it correctly.

This bug caused cycles in the elaborated install plan which
could cause dependency closure to fail, resulting in
weird errors.

Fixes haskell#3996.

Signed-off-by: Edward Z. Yang <[email protected]>
@mention-bot
Copy link

@ezyang, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dcoutts, @23Skidoo and @hvr to be potential reviewers.

@23Skidoo
Copy link
Member

23Skidoo commented Oct 21, 2016

As I said in #4015, this fixed the problem for me. Thanks!

@dcoutts
Copy link
Contributor

dcoutts commented Oct 22, 2016

This fixed both instances of the problem I was seeing too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants