gnu: Add search path specifications for 'SSL_CERT_FILE' and 'GIT_SSL_CAINFO'.
* gnu/packages/openssl.scm (openssl)[native-search-paths]: Add specification for 'SSL_CERT_FILE'. * gnu/packages/version-control.scm (git)[native-search-paths]: Add specification for 'GIT_SSL_CAINFO'.
This commit is contained in:
parent
e343024dc4
commit
da699774d4
|
@ -64,9 +64,16 @@
|
||||||
"rm"))))
|
"rm"))))
|
||||||
%standard-phases))))
|
%standard-phases))))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
;; FIXME: These two variables must designate a single file or directory
|
||||||
|
;; and are not actually "search paths." In practice it works OK in user
|
||||||
|
;; profiles because there's always just one item that matches the
|
||||||
|
;; specification.
|
||||||
|
(list (search-path-specification
|
||||||
(variable "SSL_CERT_DIR")
|
(variable "SSL_CERT_DIR")
|
||||||
(files '("etc/ssl/certs")))))
|
(files '("etc/ssl/certs")))
|
||||||
|
(search-path-specification
|
||||||
|
(variable "SSL_CERT_FILE")
|
||||||
|
(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")
|
||||||
|
|
|
@ -204,6 +204,15 @@ as well as the classic centralized workflow.")
|
||||||
`("PATH" ":" prefix
|
`("PATH" ":" prefix
|
||||||
("$HOME/.guix-profile/libexec/git-core")))))
|
("$HOME/.guix-profile/libexec/git-core")))))
|
||||||
%standard-phases))))
|
%standard-phases))))
|
||||||
|
|
||||||
|
(native-search-paths
|
||||||
|
;; For HTTPS access, Git needs a single-file certificate bundle, specified
|
||||||
|
;; with $GIT_SSL_CAINFO.
|
||||||
|
;; FIXME: This variable designates a single file; it is not a search path.
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "GIT_SSL_CAINFO")
|
||||||
|
(files '("etc/ssl/certs/ca-certificates.crt")))))
|
||||||
|
|
||||||
(synopsis "Distributed version control system")
|
(synopsis "Distributed version control system")
|
||||||
(description
|
(description
|
||||||
"Git is a free distributed version control system designed to handle
|
"Git is a free distributed version control system designed to handle
|
||||||
|
|
Loading…
Reference in New Issue