k0001 / network-simple

Haskell library abstracting common network sockets usage patterns.
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

Missing dependency on network-bsd #35

Closed newhoggy closed 1 year ago

newhoggy commented 3 years ago
src/Network/Simple/Internal.hs:24:1: error:
    Could not load module ‘Network.BSD’
    It is a member of the hidden package ‘network-bsd-2.8.1.0’.
    Perhaps you need to add ‘network-bsd’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
24 | import qualified Network.BSD as NS (getServicePortNumber)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
newhoggy commented 3 years ago

This is for network-simple-0.4.4

hsenag commented 3 years ago

I got the same problem, and it's showing as failing in the matrix builder.

Maybe you could do a hackage revision for 0.4.4 to add an upper bound on the network version?

sjakobi commented 2 years ago

As a Hackage trustee, I have made a revision for v0.4.4: https://hackage.haskell.org/package/network-simple-0.4.4/revisions/