Skip to content
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

fix network-uri flag example in cabal file #22

Closed
wants to merge 1 commit into from

Conversation

marbu
Copy link

@marbu marbu commented Nov 1, 2015

Since network-uri module was created when network 2.6 was released,
expression network-uri < 2.6 is not necessary, moreover it will always fail.

Since network-uri module was created when network 2.6 was released,
expression `network-uri < 2.6` is not necessary, moreover it will always fail.
@hvr
Copy link
Member

hvr commented Nov 1, 2015

Why does it always fail?

@marbu
Copy link
Author

marbu commented Nov 1, 2015

In enviroment with network module installed in version 2.4, disabling network-uri flag doesn't help me because I don't have module network-uri in version < 2.6. And I can't satisfy such requirement because module with this name and version doesn't exist.

@hvr
Copy link
Member

hvr commented Nov 1, 2015

Are you aware that http://hackage.haskell.org/package/network-uri-2.5.0.0 exists?

@marbu
Copy link
Author

marbu commented Nov 1, 2015

Ah, so basically in my enviroment with network-2.4, I need to use dummy network-uri-2.5 you mentioned?

@hvr
Copy link
Member

hvr commented Nov 1, 2015

Yes, I think there was some subtle corner cases that motivated the recommendation to force a dummy network-uri. It certainly helps to ensure that inside an install-plan you never end up mixing an older network package with a newer network-uri and vice-versa

@marbu
Copy link
Author

marbu commented Nov 1, 2015

Thanks a lot for the clarification. I'm closing this now.

@marbu marbu closed this Nov 1, 2015
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.

None yet

2 participants