33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
|
|
index 2307c4db01e30e..15ef2f5d4f22c3 100644
|
|
--- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
|
|
+++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
|
|
@@ -8,7 +8,7 @@
|
|
, nodejs
|
|
, fetchYarnDeps
|
|
, fixup_yarn_lock
|
|
-, electron_24
|
|
+, electron_27
|
|
, libpulseaudio
|
|
, pipewire
|
|
, alsa-utils
|
|
@@ -52,8 +52,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|
|
|
yarn --offline electron-builder \
|
|
--dir ${if stdenv.isDarwin then "--macos" else "--linux"} ${if stdenv.hostPlatform.isAarch64 then "--arm64" else "--x64"} \
|
|
- -c.electronDist=${electron_24}/libexec/electron \
|
|
- -c.electronVersion=${electron_24.version}
|
|
+ -c.electronDist=${electron_27}/libexec/electron \
|
|
+ -c.electronVersion=${electron_27.version}
|
|
|
|
runHook postBuild
|
|
'';
|
|
@@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|
popd
|
|
|
|
# Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing
|
|
- makeWrapper '${electron_24}/bin/electron' "$out/bin/teams-for-linux" \
|
|
+ makeWrapper '${electron_27}/bin/electron' "$out/bin/teams-for-linux" \
|
|
${lib.optionalString stdenv.isLinux ''
|
|
--prefix PATH : ${lib.makeBinPath [ alsa-utils which ]} \
|
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio pipewire ]} \
|