From ba1e4ce2560d51c8ba935e5b5667ba3a0133c694 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 15 Jul 2020 19:13:43 +0200 Subject: 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. --- gnu/packages/rust.scm | 15 +++++++++++++-- 1 file 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 ;;; Copyright © 2017, 2018 Nikolai Merinov ;;; Copyright © 2017, 2019 Efraim Flashner -;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Danny Milosavljevic ;;; Copyright © 2019 Ivan Petkov ;;; Copyright © 2020 Jakub Kądziołka @@ -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 -- cgit v1.2.3