Commit c1d6106
authored
Avoid network-3.1.3.0 unknown symbol `socketpair' (#1958)
When running template haskell code in wine we get this error (from https://ci.zw3rk.com/build/2305024/nixlog/1)
```
Building library for th-dlls-0.1.0.0..
[1 of 1] Compiling Lib ( src/Lib.hs, dist/build/Lib.o )
---> Starting remote-iserv.exe on port 6413
---| remote-iserv.exe should have started on 6413
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/build" has been updated.
Listening on port 6413
remote-iserv.exe: | /nix/store/x1s18463jl5kzqdpv1xyy13pzj82dhjp-network-lib-network-x86_64-w64-mingw32-3.1.3.0/lib/x86_64-windows-ghc-8.10.7/network-3.1.3.0-91WeQjW06jRIKGtokERG5m/HSnetwork-3.1.3.0-91WeQjW06jRIKGtokERG5m.o: unknown symbol `socketpair'
remote-iserv.exe: Could not load Object Code /nix/store/x1s18463jl5kzqdpv1xyy13pzj82dhjp-network-lib-network-x86_64-w64-mingw32-3.1.3.0/lib/x86_64-windows-ghc-8.10.7/network-3.1.3.0-91WeQjW06jRIKGtokERG5m/HSnetwork-3.1.3.0-91WeQjW06jRIKGtokERG5m.o.
<no location info>: error:
ghc: unable to load package `network-3.1.3.0'
```
See haskell/network#5501 parent 87b604e commit c1d6106
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments