diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-06-10 09:25:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 09:25:53 +0100 |
commit | 308acf319906158c7911f0fb2d4c41896e1471b0 (patch) | |
tree | 86c863b7b9aef522e4424624f3407c5fa4579edc /pkgs/applications/networking/instant-messengers | |
parent | 9e4eb9b696c0c09018013401aaa34a1af9bfaad3 (diff) | |
parent | 55f0f9e1a4818074c52d6e11e65240fbfdd36890 (diff) | |
download | nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar.gz nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar.bz2 nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar.lz nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar.xz nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.tar.zst nixlib-308acf319906158c7911f0fb2d4c41896e1471b0.zip |
Merge pull request #26478 from Moredread/profanity_tray
profanity: enable tray icon support
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index 32f4f8f32b36..e1a068393b14 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -3,10 +3,12 @@ , autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null , notifySupport ? false, libnotify ? null, gdk_pixbuf ? null +, traySupport ? false, gnome2 ? null }: assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; assert notifySupport -> libnotify != null && gdk_pixbuf != null; +assert traySupport -> gnome2 != null; with stdenv.lib; @@ -23,7 +25,8 @@ stdenv.mkDerivation rec { pkgconfig readline libuuid libmesode glib openssl expat ncurses libotr curl ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] - ++ optionals notifySupport [ libnotify gdk_pixbuf ]; + ++ optionals notifySupport [ libnotify gdk_pixbuf ] + ++ optionals traySupport [ gnome2.gtk ]; meta = { description = "A console based XMPP client"; |