Open
Description
I can work around this by inlining the contents of that resolver in changing packages to extra-deps So I know I have everything else working. Sadly my team needs that for other stuff and doesn't see the work around of removing the resolver and using a plain stack.yaml as an option.
# stack.yaml
resolver: https://raw.githubusercontent.com/EdutainmentLIVE/snapshot/f5f60d88a128aff3da0e5fd508a3e2aacd2ca109/snapshot.yaml
Results in:
host name: Just "raw.githubusercontent.com", service name: Just "443"): does not exist (Name or service not known))
Full log:
smurf July-haskell-nix 「↪ 𝚫 ✔ 📁 」 on (us-east-1) took 25s
✖1 ❯ nix build
warning: Git tree '/home/cody/smurf' is dirty
trace: To make project.stack-nix for haskell-project a fixed-output derivation but not materialized, set `stack-sha256` to the output of the 'calculateMaterializedSha' script in 'passthru'.
trace: To materialize project.stack-nix for haskell-project entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
trace: WARNING: `cleanSourceWith` called on /nix/store/qy510ayhgci7wksf6qzkbac6cszcg8mp-source without a `name`. Consider adding `name = "qy510ayhgci7wksf6qzkbac6cszcg8mp-source";`
error: builder for '/nix/store/pd7zjfwh977mkyd3zrjwqmdk1cnq9i9v-stack-repos.drv' failed with exit code 1;
last 10 log lines:
> queryString = ""
> method = "GET"
> proxy = Nothing
> rawBody = False
> redirectCount = 10
> responseTimeout = ResponseTimeoutDefault
> requestVersion = HTTP/1.1
> proxySecureMode = ProxySecureWithConnect
> }
> (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "raw.githubusercontent.com", service name: Just "443"): does not exist (Name or service not known))
For full logs, run 'nix log /nix/store/pd7zjfwh977mkyd3zrjwqmdk1cnq9i9v-stack-repos.drv'.
(use '--show-trace' to show detailed location information)