tiny: enable desktop notifications on Linux

The presence of the dbus dependency
suggests the intention was to enable notifications support.
This commit is contained in:
Alexander Sosedkin 2021-09-14 13:34:12 +02:00
parent 071317d543
commit 4376444224

View File

@ -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;