mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: cmake@3.15.5: Honor 'SSL_CERT_DIR' and 'SSL_CERT_FILE'.
* gnu/packages/cmake.scm (cmake-3.15.5)[native-search-paths]: New field.
This commit is contained in:
parent
0de28f9ef9
commit
79154f0a09
1 changed files with 15 additions and 1 deletions
|
@ -228,7 +228,21 @@ (define-public cmake-3.15.5
|
||||||
"1d5y8d92axcc6rfqlsxamayfs3fc1vdby91hn5mx1kn02ppprpgv"))
|
"1d5y8d92axcc6rfqlsxamayfs3fc1vdby91hn5mx1kn02ppprpgv"))
|
||||||
(patches
|
(patches
|
||||||
(append (search-patches "cmake-curl-certificates.patch")
|
(append (search-patches "cmake-curl-certificates.patch")
|
||||||
(origin-patches (package-source cmake))))))))
|
(origin-patches (package-source cmake))))))
|
||||||
|
|
||||||
|
(native-search-paths
|
||||||
|
;; "cmake-curl-certificates.patch" changes CMake to honor 'SSL_CERT_DIR'
|
||||||
|
;; and 'SSL_CERT_FILE', hence these search path entries.
|
||||||
|
(append (list (search-path-specification
|
||||||
|
(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"))))
|
||||||
|
(package-native-search-paths cmake)))))
|
||||||
|
|
||||||
;; This was cmake@3.15.1 plus "cmake-curl-certificates.patch".
|
;; This was cmake@3.15.1 plus "cmake-curl-certificates.patch".
|
||||||
(define-deprecated cmake/fixed cmake-3.15.5)
|
(define-deprecated cmake/fixed cmake-3.15.5)
|
||||||
|
|
Loading…
Reference in a new issue