pidgin: use system certificates to fix letsencrypt

(cherry picked from commit bf0c0cc767e6abfe0c319208359c8012029371e8)
This commit is contained in:
Evgeny Kurnevsky 2021-10-27 12:58:36 +03:00 committed by github-actions[bot]
parent 9fe53aefc9
commit 687fd09c28
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
, gnutls ? null , gnutls ? null
, libgcrypt ? null , libgcrypt ? null
, plugins, symlinkJoin , plugins, symlinkJoin
, cacert
}: }:
# FIXME: clean the mess around choosing the SSL library (nss by default) # FIXME: clean the mess around choosing the SSL library (nss by default)
@ -59,6 +60,7 @@ let unwrapped = stdenv.mkDerivation rec {
"--with-nss-includes=${nss.dev}/include/nss" "--with-nss-includes=${nss.dev}/include/nss"
"--with-nss-libs=${nss.out}/lib" "--with-nss-libs=${nss.out}/lib"
"--with-ncurses-headers=${ncurses.dev}/include" "--with-ncurses-headers=${ncurses.dev}/include"
"--with-system-ssl-certs=${cacert}/etc/ssl/certs"
"--disable-meanwhile" "--disable-meanwhile"
"--disable-nm" "--disable-nm"
"--disable-tcl" "--disable-tcl"