From 43764442240c6b64c36931d57cf6f61901d9ca03 Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Tue, 14 Sep 2021 13:34:12 +0200 Subject: [PATCH] tiny: enable desktop notifications on Linux The presence of the dbus dependency suggests the intention was to enable notifications support. --- pkgs/applications/networking/irc/tiny/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/irc/tiny/default.nix b/pkgs/applications/networking/irc/tiny/default.nix index c9637fef4ca6..253143d00047 100644 --- a/pkgs/applications/networking/irc/tiny/default.nix +++ b/pkgs/applications/networking/irc/tiny/default.nix @@ -26,6 +26,8 @@ rustPlatform.buildRustPackage rec { ./fix-Cargo.lock.patch ]; + cargoBuildFlags = lib.optionals stdenv.isLinux [ "--features=desktop-notifications" ]; + nativeBuildInputs = lib.optional stdenv.isLinux pkg-config; buildInputs = lib.optionals stdenv.isLinux [ dbus openssl ] ++ lib.optional stdenv.isDarwin Foundation;