Repository navigation
Use getHostName from network, drop network-bsd - #119
Merged
Merged
Conversation
network 3.2.10.0 added getHostName to Network.Socket, which clashes with the one imported from Network.BSD.
network >= 3.2.10 provides getHostName, which was the only thing network-bsd was used for. Update the haskell.nix Hackage index so the nix integration test can find network 3.2.10.
ysangkok
enabled auto-merge
October 30, 2026 23:38
|
@spencerjanssen, Needs a new release, will disable the package on stackage in the meantime. |
alaendle
added a commit
to commercialhaskell/stackage
that referenced
this pull request
Nov 3, 2026
Contributor
Author
|
@alaendle I uploaded a new release |
|
Thanks @ysangkok - I reinclude the package... |
alaendle
added a commit
to commercialhaskell/stackage
that referenced
this pull request
Nov 5, 2026
This reverts commit 0ccb275.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
network 3.2.10.0 added
getHostNametoNetwork.Socket(haskell/network#621), so it is now ambiguous withNetwork.BSD.getHostName, and the build fails:getHostNamewas the only thingnetwork-bsdwas used for, so this switches to the one innetworkand drops the dependency:Network.BSDimport and thenetwork-bsddependencynetwork >= 3.2.10(it callsgethostnamelike the network-bsd version, and has POSIX and Windows implementations)haskell-nix/hackageinput inflake.lock, whose index predated network 3.2.10, so the nix integration test can solve