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