mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
zoom-us: add pulseaudio to PATH
Zoom wants to be able to invoke `pactl` or `pacmd` in order to support computer audio sharing.
This commit is contained in:
parent
affe201a2a
commit
bafb19f793
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user