Re: rust:cargo (libcurl) vs. CURL_CA_BUNDLE

2019-09-24 Thread Robin Heinemann
Hi, following nix (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/cargo.nix) the right environment variable seems to be CARGO_HTTP_CAINFO setting that to $SSL_CERT_FILE makes cargo work for me. Cheers, Robin David Loyall writes: >> This was discussed recently on I

Re: rust:cargo (libcurl) vs. CURL_CA_BUNDLE

2019-09-03 Thread David Loyall
> This was discussed recently on IRC: > http://logs.guix.gnu.org/guix/2019-08-29.log#102010 > Unfortunately we didn’t reach a conclusion. Ok, thank you. Unfortunately that user's pastebins expired so I was not able to compare with my own `ltrace` output. > The ‘ltrace -e getenv’ trick I gave m

Re: rust:cargo (libcurl) vs. CURL_CA_BUNDLE

2019-09-01 Thread Ludovic Courtès
Hello David, David Loyall skribis: > I think the way `cargo` uses `libcurl` is preventing it from looking > in the `CURL_CA_BUNDLE` environment variable to find where the > certificate authority file is. > > Here we see what `cargo` I am using: > > sebboh@geeks ~/projects$ cargo -V > car