gnu: pidgin: Use system ssl certs.

* gnu/packages/messaging.scm (pidgin) [inputs]: Add nss-certs.
[#:configure-flags]: Add “--with-system-ssl-certs”.

Change-Id: I14ec36002b31b4de52871f065bd18c9d30eca275
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Dariqq 2024-08-29 08:35:19 +00:00 committed by Liliana Marie Prikler
parent cfa918ce15
commit e3d6dc74ac
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -75,6 +75,7 @@ (define-module (gnu packages messaging)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages certs)
#:use-module (gnu packages code) #:use-module (gnu packages code)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages cpp) #:use-module (gnu packages cpp)
@ -1005,6 +1006,7 @@ (define-public pidgin
network-manager network-manager
nspr nspr
nss nss
nss-certs
pango pango
perl perl
python-2 python-2
@ -1027,6 +1029,10 @@ (define-public pidgin
"--disable-gevolution" "--disable-gevolution"
"--enable-cap" "--enable-cap"
"--enable-cyrus-sasl" "--enable-cyrus-sasl"
;; Use nss-certs instead of bundled ones.
(string-append "--with-system-ssl-certs="
(assoc-ref %build-inputs "nss-certs")
"/etc/ssl/certs")
(string-append "--with-ncurses-headers=" (string-append "--with-ncurses-headers="
(assoc-ref %build-inputs "ncurses") (assoc-ref %build-inputs "ncurses")
"/include") "/include")