From dfc6578fc1c97419e73819fe9d39321c2781a65c Mon Sep 17 00:00:00 2001 From: WORLDofPEACE Date: Fri, 23 Oct 2020 19:36:33 -0400 Subject: [PATCH] folks: disable telepathy backend by default --- pkgs/development/libraries/folks/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/folks/default.nix b/pkgs/development/libraries/folks/default.nix index e9df0ef4016b..6181cb45e19e 100644 --- a/pkgs/development/libraries/folks/default.nix +++ b/pkgs/development/libraries/folks/default.nix @@ -16,7 +16,6 @@ , nss , dbus , libgee -, telepathy-glib , evolution-data-server , libsecret , db @@ -26,6 +25,8 @@ , gtk-doc , docbook-xsl-nons , docbook_xml_dtd_43 +, telepathy-glib +, telepathySupport ? false }: # TODO: enable more folks backends @@ -43,6 +44,7 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Ddocs=true" + "-Dtelepathy_backend=${stdenv.lib.boolToString telepathySupport}" ]; nativeBuildInputs = [ @@ -69,8 +71,7 @@ stdenv.mkDerivation rec { nspr nss readline - telepathy-glib - ]; + ] ++ stdenv.lib.optional telepathySupport telepathy-glib; propagatedBuildInputs = [ glib @@ -109,6 +110,6 @@ stdenv.mkDerivation rec { homepage = "https://wiki.gnome.org/Projects/Folks"; license = licenses.lgpl2Plus; maintainers = teams.gnome.members; - platforms = platforms.gnu ++ platforms.linux; # arbitrary choice + platforms = platforms.gnu ++ platforms.linux; # arbitrary choice }; }