summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-15 19:13:43 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-15 19:41:39 +0200
commitba1e4ce2560d51c8ba935e5b5667ba3a0133c694 (patch)
treef213c9f78faab98cac15b09ade72523a214f1e3f /gnu/packages/rust.scm
parent7e3b537c7601c760219edc0351d443324c079d81 (diff)
gnu: rust: Add SSL native search paths.
* gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Add entries for SSL_CERT_DIR and SSL_CERT_FILE. Reported by Kimapr[m] in #guix.
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r--gnu/packages/rust.scm15
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 851a996e4b..dc373ef2bb 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017, 2018 Nikolai Merinov <nikolai.merinov@member.fsf.org>
;;; Copyright © 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -447,7 +447,18 @@ test = { path = \"../libtest\" }
(files '("include/c++" "include")))
(search-path-specification
(variable "LIBRARY_PATH")
- (files '("lib" "lib64")))))
+ (files '("lib" "lib64")))
+
+ ;; For cargo.
+ (search-path-specification
+ (variable "SSL_CERT_DIR")
+ (separator #f)
+ (files '("etc/ssl/certs")))
+ (search-path-specification
+ (variable "SSL_CERT_FILE")
+ (file-type 'regular)
+ (separator #f)
+ (files '("etc/ssl/certs/ca-certificates.crt")))))
(synopsis "Compiler for the Rust progamming language")
(description "Rust is a systems programming language that provides memory