diff options
author | Jude Taylor <me@jude.bio> | 2016-02-23 12:59:19 -0800 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2016-02-23 16:42:51 -0800 |
commit | 733619157483860d4f970559616fe30171c37022 (patch) | |
tree | fe7a6b388ee3ad36f6b4647095e4ff8ab073f476 /pkgs/build-support/rust | |
parent | bd8f383f156d203803f0f191231821d6607a5dfa (diff) | |
download | nixlib-733619157483860d4f970559616fe30171c37022.tar nixlib-733619157483860d4f970559616fe30171c37022.tar.gz nixlib-733619157483860d4f970559616fe30171c37022.tar.bz2 nixlib-733619157483860d4f970559616fe30171c37022.tar.lz nixlib-733619157483860d4f970559616fe30171c37022.tar.xz nixlib-733619157483860d4f970559616fe30171c37022.tar.zst nixlib-733619157483860d4f970559616fe30171c37022.zip |
fix fetch-cargo SSL error
Diffstat (limited to 'pkgs/build-support/rust')
-rwxr-xr-x | pkgs/build-support/rust/fetch-cargo-deps | 3 |
1 files changed, 3 insertions, 0 deletions
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 <pkgName> --precise <version>' 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 |