teams-for-linux: use electron_27

The [release notes for
1.3.14](https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v1.3.14)
mention that electron was upgraded to 27.0.0, but this was not done here. This
fixes that.
This commit is contained in:
Charlotte Van Petegem 2023-10-26 10:26:35 +02:00
parent 731cad19e4
commit e722a27125
No known key found for this signature in database
GPG Key ID: 019E764B7184435A
2 changed files with 7 additions and 5 deletions

View File

@ -8,7 +8,7 @@
, nodejs
, fetchYarnDeps
, fixup_yarn_lock
, electron_24
, electron
, 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}/libexec/electron \
-c.electronVersion=${electron.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}/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 ]} \

View File

@ -35682,7 +35682,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_27;
};
teamspeak_client = libsForQt5.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak5_client = callPackage ../applications/networking/instant-messengers/teamspeak/client5.nix { };