summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-22 08:35:29 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-22 08:36:03 +0100
commitdd988726fcfed305e8b265fb8d8ec01e64d3a58e (patch)
tree9bfe3f956684c2f7ed63044b9fa22dee4549c9d8
parent7df3ab0f0d21e6414a22b113c832dc18475f34a7 (diff)
downloadguix-dd988726fcfed305e8b265fb8d8ec01e64d3a58e.tar.gz
gnu: guix: Add search path spec for 'SSL_CERT_DIR'.
* gnu/packages/package-management.scm (guix)[native-search-paths]: Add
'SSL_CERT_DIR'.
-rw-r--r--gnu/packages/package-management.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index d2ab815337..df5bd2eb81 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -424,7 +424,14 @@ $(prefix)/etc/init.d\n")))
       (native-search-paths
        (list (search-path-specification
               (variable "GUIX_EXTENSIONS_PATH")
-              (files '("share/guix/extensions")))))
+              (files '("share/guix/extensions")))
+
+             ;; (guix git) and (guix build download) honor this variable whose
+             ;; name comes from OpenSSL.
+             (search-path-specification
+              (variable "SSL_CERT_DIR")
+              (separator #f)                      ;single entry
+              (files '("etc/ssl/certs")))))
 
       (home-page "https://www.gnu.org/software/guix/")
       (synopsis "Functional package manager for installed software packages and versions")