tauon: add optional withDiscordRPC (#138765)

* tauon: add optional withDiscordRPC

* Update pkgs/applications/audio/tauon/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Amneesh
2021-09-21 21:09:49 +02:00
committed by GitHub
co-authored by Sandro
parent 7ecc0a0181
commit 89393893ec
+2 -1
View File
@@ -15,6 +15,7 @@
, opusfile
, pango
, pulseaudio
, withDiscordRPC ? false
}:
stdenv.mkDerivation rec {
@@ -82,7 +83,7 @@ stdenv.mkDerivation rec {
pysdl2
requests
send2trash
];
] ++ lib.optional withDiscordRPC pypresence;
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ffmpeg]}"