Skip to content

Allocate different ComponentId for lib and exe. #4015

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 21, 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.

CC @dcoutts

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 23Skidoo merged commit 33f5f9e into haskell:master Oct 21, 2016
@23Skidoo
Copy link
Member

Thanks! This fixed the problem for me.

@23Skidoo
Copy link
Member

23Skidoo commented Oct 21, 2016

Sorry, prematurely merged this by mistake. Reverted in 211776b.

@ezyang
Copy link
Contributor Author

ezyang commented Oct 21, 2016

And now because GitHub is dumb I guess I have to open a new PR

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.

3 participants