diff --git a/pkgs/build-support/rust/fetch-cargo-deps b/pkgs/build-support/rust/fetch-cargo-deps index 5074e26848e..1f6afd60d31 100755 --- a/pkgs/build-support/rust/fetch-cargo-deps +++ b/pkgs/build-support/rust/fetch-cargo-deps @@ -43,6 +43,9 @@ set -u # Do any possible 'cargo update -p --precise ' ad-hoc updates eval "$cargoUpdateHook" +# stdenv setup sets SSL_CERT_FILE to a nonexistent path; cargo doesn't like that +unset SSL_CERT_FILE + # Do the fetch cargo fetch --verbose