zoom-us: support alsa

This commit is contained in:
gnidorah 2020-11-12 04:10:14 +03:00
parent b839d4a855
commit d3521527b4

View File

@ -8,6 +8,7 @@
# Runtime # Runtime
, coreutils, faac, pciutils, procps, utillinux , coreutils, faac, pciutils, procps, utillinux
, pulseaudioSupport ? true, libpulseaudio ? null , pulseaudioSupport ? true, libpulseaudio ? null
, alsaSupport ? stdenv.isLinux, alsaLib ? null
}: }:
assert pulseaudioSupport -> libpulseaudio != null; assert pulseaudioSupport -> libpulseaudio != null;
@ -45,7 +46,8 @@ in mkDerivation {
qtscript qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland qtscript qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
]; ];
runtimeDependencies = optional pulseaudioSupport libpulseaudio; runtimeDependencies = optional pulseaudioSupport libpulseaudio
++ optional alsaSupport alsaLib;
installPhase = installPhase =
let let