Skip to content

Commit

Permalink
teams-for-linux: electron 30 -> electron 32
Browse files Browse the repository at this point in the history
Looks like upstream bumped electron version, already.

(cherry picked from commit 0cf4af9)
  • Loading branch information
khaneliman committed Oct 27, 2024
1 parent e2bb6f8 commit e8ab03f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/by-name/te/teams-for-linux/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
fetchFromGitHub,
alsa-utils,
copyDesktopItems,
electron_30,
electron_32,
makeDesktopItem,
makeWrapper,
nix-update-script,
which,
}:

let
electronDist = "${electron_30}/${if stdenv.isDarwin then "Applications" else "libexec/electron"}";
electronDist = "${electron_32}/${if stdenv.isDarwin then "Applications" else "libexec/electron"}";
in
buildNpmPackage rec {
pname = "teams-for-linux";
Expand Down Expand Up @@ -49,7 +49,7 @@ buildNpmPackage rec {
-c.npmRebuild=true \
-c.asarUnpack="**/*.node" \
-c.electronDist=electron-dist \
-c.electronVersion=${electron_30.version}
-c.electronVersion=${electron_32.version}
runHook postBuild
'';
Expand All @@ -71,7 +71,7 @@ buildNpmPackage rec {
popd
# Linux needs 'aplay' for notification sounds
makeWrapper '${lib.getExe electron_30}' "$out/bin/teams-for-linux" \
makeWrapper '${lib.getExe electron_32}' "$out/bin/teams-for-linux" \
--prefix PATH : ${
lib.makeBinPath [
alsa-utils
Expand Down

0 comments on commit e8ab03f

Please sign in to comment.