about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-09-06 18:23:55 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-09-06 18:23:55 +0000
commit317d89066b3ddd54a51aaa5cb95d8ef87ffa4f77 (patch)
tree7e435ca50b71898ec58acf878c8e07ca9f76896f /pkgs/applications/networking/instant-messengers/pidgin
parent0f48d38859ac6123806909773d75d29fbc9d587e (diff)
Force Pidgin to use GnuTLS when it is offered.
svn path=/nixpkgs/trunk/; revision=12816
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix
index 0f8526e5a6c86..fd01730aa3e54 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix
@@ -44,7 +44,9 @@ stdenv.mkDerivation {
     pkgconfig gtk perl perlXMLParser gettext
   ];
 
-  configureFlags="--with-nspr-includes=${nss}/include/nspr --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl";
+  configureFlags="--with-nspr-includes=${nss}/include/nspr --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl"
+  + (lib.optionalString (gnutls != null) " --enable-gnutls=yes --enable-nss=no")
+  ;
   meta = {
     description = "Pidgin IM - XMPP(Jabber), AIM/ICQ, IRC, SIP etc client.";
     homepage = http://pidgin.im;