aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/instant-messengers/zoom-us/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/zoom-us/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/zoom-us/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix
index 6c072118bc88..887e3f458bc4 100644
--- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix
+++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix
@@ -6,8 +6,9 @@
, qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel
, qtwebengine
# Runtime
-, coreutils, faac, pciutils, procps, utillinux
+, coreutils, faac, pciutils, procps, util-linux
, pulseaudioSupport ? true, libpulseaudio ? null
+, alsaSupport ? stdenv.isLinux, alsaLib ? null
}:
assert pulseaudioSupport -> libpulseaudio != null;
@@ -45,7 +46,8 @@ in mkDerivation {
qtscript qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
];
- runtimeDependencies = optional pulseaudioSupport libpulseaudio;
+ runtimeDependencies = optional pulseaudioSupport libpulseaudio
+ ++ optional alsaSupport alsaLib;
installPhase =
let
@@ -103,7 +105,7 @@ in mkDerivation {
dontWrapQtApps = true;
qtWrapperArgs = [
- ''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}''
+ ''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev util-linux ]}''
# --run "cd ${placeholder "out"}/share/zoom-us"
# ^^ unfortunately, breaks run arg into multiple array elements, due to
# some bad array propagation. We'll do that in bash below