diff options
author | Alexander Sosedkin <asosedkin@redhat.com> | 2021-09-14 13:34:12 +0200 |
---|---|---|
committer | Alexander Sosedkin <asosedkin@redhat.com> | 2021-09-14 13:34:12 +0200 |
commit | 43764442240c6b64c36931d57cf6f61901d9ca03 (patch) | |
tree | b655d9893af1b140c99a362fa9833542b156f2bc /pkgs/applications/networking/irc | |
parent | 071317d543205ee5f5611d391a37582f9b282240 (diff) |
tiny: enable desktop notifications on Linux
The presence of the dbus dependency suggests the intention was to enable notifications support.
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/tiny/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/tiny/default.nix b/pkgs/applications/networking/irc/tiny/default.nix index c9637fef4ca6c..253143d000478 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; |