From 733619157483860d4f970559616fe30171c37022 Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Tue, 23 Feb 2016 12:59:19 -0800 Subject: [PATCH] fix fetch-cargo SSL error --- pkgs/build-support/rust/fetch-cargo-deps | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/build-support/rust/fetch-cargo-deps b/pkgs/build-support/rust/fetch-cargo-deps index 5074e26848ed..1f6afd60d31b 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