forked from mirrors/nixpkgs
tiny: use buildFeatures
This commit is contained in:
parent
94eee0a20b
commit
d05ccea213
|
@ -21,11 +21,11 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "05q3f1wp48mwkz8n0102rwb6jzrgpx3dlbxzf3zcw8r1mblgzim1";
|
||||
|
||||
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;
|
||||
|
||||
buildFeatures = lib.optional stdenv.isLinux "desktop-notifications";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A console IRC client";
|
||||
homepage = "https://github.com/osa1/tiny";
|
||||
|
|
Loading…
Reference in a new issue