It looks like #603 might have broken the socket
function (at least on WINE
).
Haskell.nix uses iserv-proxy-interpreter.exe
to run TH code under WINE. Since the release of network-3.2.8.0
this has been failing with:
iserv-proxy-interpreter.exe:Network.Socket.setSockOpt:failed(Badprotocolopt
ion(WSAENOPROTOOPT))
iserv-proxy: Network.Socket.connect: <socket: 11>: does not exist (Connection refused)
I think what is going on is that the socket
function in iserv-proxy-interpreter
(the part running under WINE) is failing and then the iserv-proxy
connect
function fails (since there is nothing to connect to.
I think the error is coming from this call https://github.com/haskell/network/pull/603/files#diff-32af11237764f85b335f809887f47a50b4ef46f94ba462283f8a9a80e669fa65R126
My guess is that this works ok on Windows (since the network
GitHub tests are passing), but fails on WINE.