gnu: gnutls: Configure location of system-wide trust store.
* gnu/packages/gnutls.scm (gnutls): Configure the location of the system-wide trust store.master
parent
ea119a288f
commit
aa7c7f21b3
|
@ -81,7 +81,17 @@ specifications.")
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
(list (string-append "--with-guile-site-dir="
|
(list (string-append "--with-guile-site-dir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/share/guile/site/2.0"))))
|
"/share/guile/site/2.0")
|
||||||
|
;; GnuTLS doesn't consult any environment variables to specify
|
||||||
|
;; the location of the system-wide trust store. Instead it has a
|
||||||
|
;; configure-time option. Unless specified, its configure script
|
||||||
|
;; attempts to auto-detect the location by looking for common
|
||||||
|
;; places in the filesystem, none of which are present in our
|
||||||
|
;; chroot build environment. If not found, then no default trust
|
||||||
|
;; store is used, so each program has to provide its own
|
||||||
|
;; fallback, and users have to configure each program
|
||||||
|
;; independently. This seems suboptimal.
|
||||||
|
"--with-default-trust-store-dir=/etc/ssl/certs")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue