guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: rust: Add SSL native search paths.


From: guix-commits
Subject: 04/06: gnu: rust: Add SSL native search paths.
Date: Wed, 15 Jul 2020 13:42:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit ba1e4ce2560d51c8ba935e5b5667ba3a0133c694
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jul 15 19:13:43 2020 +0200

    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 851a996..dc373ef 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]