Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Custom stack resolver in stack.yaml fails #1157

Copy link
Copy link
Open
@codygman

Description

@codygman
Issue body actions

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.