haskell / network

Low-level networking interface
http://hackage.haskell.org/package/network
Other
322 stars 186 forks source link

Build failure on Windows (CI broken) #574

Closed andreasabel closed 3 months ago

andreasabel commented 3 months ago

https://github.com/haskell/network/blob/1a8a923112f65de4d533ac8d4d2fd66c8ab5b1f5/Network/Socket/Unix.hsc#L148-L152

Network\Socket\Unix.hsc:152:22: error:
    Data constructor not in scope: CmsgIdFds :: CmsgId
    Suggested fix:
      Perhaps use ‘CmsgIdFd’ (imported from Network.Socket.Win32.Cmsg)
    |
152 |     case (lookupCmsg CmsgIdFds cmsgs >>= decodeCmsg) :: Maybe [Fd] of

    |                      ^^^^^^^^^

In CI: https://github.com/haskell/network/actions/runs/8386827442/job/22967896871?pr=573#step:9:126

The first bad CI run was: https://github.com/haskell/network/actions/runs/5779705020 Breakage seem to be connected to

andreasabel commented 3 months ago

Excellent, thanks!