Commit bafb19f7 authored by Olli Helenius's avatar Olli Helenius Committed by Bjørn Forsman
Browse files

zoom-us: add pulseaudio to `PATH`

Zoom wants to be able to invoke `pactl` or `pacmd` in order to support
computer audio sharing.
parent affe201a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@
, util-linux
, pulseaudioSupport ? true
, libpulseaudio
, pulseaudio
}:

let
@@ -112,6 +113,7 @@ let
    libkrb5
  ] ++ lib.optional (pulseaudioSupport) libpulseaudio);

  binPath = lib.makeBinPath ([ coreutils glib.dev pciutils procps util-linux ] ++ lib.optional pulseaudioSupport pulseaudio);
in
stdenv.mkDerivation rec {
  pname = "zoom";
@@ -178,7 +180,7 @@ stdenv.mkDerivation rec {
      --unset QML2_IMPORT_PATH \
      --unset QT_PLUGIN_PATH \
      --unset QT_SCREEN_SCALE_FACTORS \
      --prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps util-linux ]} \
      --prefix PATH : ${binPath} \
      --prefix LD_LIBRARY_PATH ":" ${libs}

    wrapProgram $out/opt/zoom/ZoomWebviewHost \