arion
arion copied to clipboard
base image should include /etc/protocols
Here is the error message I was able to extract:
HttpExceptionRequest Request { host = "package.elm-lang.org" port = 443
secure = True requestHeaders =
[("User-Agent","elm/0.19.0"),("Accept-Encoding","gzip")] path =
"/all-packages" queryString = "" method = "GET" proxy = Nothing rawBody =
False redirectCount = 10 responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1 } (ConnectionFailure
Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))
Currently work-arounding this with "${pkgs.iana-etc}/etc/protocols:/etc/protocols:ro"
This type of solution is an uphill battle without at least #27. Meanwhile these things can be achieved by using NixOS in the image.