teams-for-linux: fix audio and screen sharing
This commit is contained in:
parent
43a15b0401
commit
7c05d9eaa3
|
@ -9,6 +9,8 @@
|
|||
, nodejs
|
||||
, fetchYarnDeps
|
||||
, electron
|
||||
, libpulseaudio
|
||||
, pipewire
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -66,6 +68,7 @@ stdenv.mkDerivation rec {
|
|||
popd
|
||||
|
||||
makeWrapper '${electron}/bin/electron' "$out/bin/teams-for-linux" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio pipewire ]} \
|
||||
--add-flags "$out/share/teams-for-linux/app.asar" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
|
||||
|
|
|
@ -32669,7 +32669,9 @@ with pkgs;
|
|||
|
||||
teams = callPackage ../applications/networking/instant-messengers/teams { };
|
||||
|
||||
teams-for-linux = callPackage ../applications/networking/instant-messengers/teams-for-linux { };
|
||||
teams-for-linux = callPackage ../applications/networking/instant-messengers/teams-for-linux {
|
||||
electron = electron_21;
|
||||
};
|
||||
|
||||
teamspeak_client = libsForQt5.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
|
||||
teamspeak5_client = callPackage ../applications/networking/instant-messengers/teamspeak/client5.nix { };
|
||||
|
|
Loading…
Reference in a new issue