Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix build with custom SSL certificates fails #1477

Closed
bsoudan opened this issue Jul 20, 2017 · 2 comments
Closed

nix build with custom SSL certificates fails #1477

bsoudan opened this issue Jul 20, 2017 · 2 comments

Comments

@bsoudan
Copy link

bsoudan commented Jul 20, 2017

I'm trying to use nix and a set of custom scripts to manage user environments behind a proxy. When I try to build a derivation using nix-env or nix-instantiate/nix-store, I get:

download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/j4vjmhby0v62l71l3ybzq5s49g043946.narinfo’ (Curl error 60)
download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/97mn9nbanzl8dm4gqza2d0jnzgi4zxj4.narinfo’ (Curl error 60)
download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/kpa2p2p0m4xys9wdm735nw9xi4d3n5gr.narinfo’ (Curl error 35)
download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/3gwnf6xylpvg34sv9qjd6sfd4g5r9qpf.narinfo’ (Curl error 60)
download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/qii4fc6wabx252q7xldgdkkmhh1ys4lb.narinfo’ (Curl error 60)
download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/2m6v6lnmnf9521ixd5v0x4qrmjkn30ws.narinfo’ (Curl error 60)

I'm still troubleshooting some, but wondering if anyone else has run into anything like this. I am behind a web proxy, and also using a custom set of SSL certificates that includes a self-signed certificate, so it could be related to that.

@bsoudan bsoudan changed the title nix-store does not honor proxy settings can build with nix-env but not nix-store Jul 20, 2017
@bsoudan
Copy link
Author

bsoudan commented Jul 20, 2017

Need more investigation here. Closing for now.

@bsoudan bsoudan closed this as completed Jul 20, 2017
@bsoudan
Copy link
Author

bsoudan commented Jul 20, 2017

Adding '--option verify-https-binary-caches false' fixed this issue for me.

@bsoudan bsoudan changed the title can build with nix-env but not nix-store nix build with custom SSL certificates fails Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant