gnu: openssl: Use $SSL_CERT_DIR/$SSL_CERT_FILE.
* gnu/packages/tls.scm (openssl)[native-search-paths]: Use the $SSL_CERT_DIR/$SSL_CERT_FILE from (guix search-paths) instead of a local copy. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
89a2eb25c3
commit
2200530bf6
1 changed files with 2 additions and 9 deletions
|
@ -51,6 +51,7 @@
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system trivial)
|
#:use-module (guix build-system trivial)
|
||||||
|
#:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
|
@ -495,15 +496,7 @@ OpenSSL for TARGET."
|
||||||
#$(package-version this-package)
|
#$(package-version this-package)
|
||||||
"/misc")))))))
|
"/misc")))))))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list $SSL_CERT_DIR $SSL_CERT_FILE))
|
||||||
(variable "SSL_CERT_DIR")
|
|
||||||
(separator #f) ;single entry
|
|
||||||
(files '("etc/ssl/certs")))
|
|
||||||
(search-path-specification
|
|
||||||
(variable "SSL_CERT_FILE")
|
|
||||||
(file-type 'regular)
|
|
||||||
(separator #f) ;single entry
|
|
||||||
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
|
||||||
(synopsis "SSL/TLS implementation")
|
(synopsis "SSL/TLS implementation")
|
||||||
(description
|
(description
|
||||||
"OpenSSL is an implementation of SSL/TLS.")
|
"OpenSSL is an implementation of SSL/TLS.")
|
||||||
|
|
Reference in a new issue