-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Some machines where I work connect directly to Cachix, and others connect via a proxy, so we have a two-line /etc/nix/netrc file:
machine [omitted].cachix.org password [omitted]
machine [proxy address] password [omitted; same as above]
When I try to connect to Cachix using this file, I get a HTTP 401-type response:
$ curl -s --netrc-file /etc/nix/netrc https://[omitted].cachix.org/nix-cache-info
Binary cache [omitted] doesn't exist or you're not authorized to access. Please check the name for typos and/or provide an auth token. Contact support on https://cachix.org if you're stuck!
But if I delete the proxy address line from the file, the request is successful:
$ curl -s --netrc-file /etc/nix/netrc https://[omitted].cachix.org/nix-cache-info
StoreDir: /nix/store
WantMassQuery: 1
Priority: 41
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested