Unverified Commit e722a271 authored by Charlotte Van Petegem's avatar Charlotte Van Petegem
Browse files

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.
parent 731cad19
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 ]} \
+3 −1
Original line number Diff line number Diff line
@@ -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 { };