Skip to content

Commit

Permalink
teams-for-linux: electron 30 -> electron 32
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 27, 2024
1 parent 83287ae commit fde9267
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,7 +5,7 @@
fetchFromGitHub,
alsa-utils,
copyDesktopItems,
electron_30,
electron_32,
makeDesktopItem,
makeWrapper,
nix-update-script,
Expand Down Expand Up @@ -41,15 +41,15 @@ buildNpmPackage rec {
buildPhase = ''
runHook preBuild
cp -r ${electronDist} electron-dist
cp -r ${electron_32.dist} electron-dist
chmod -R u+w electron-dist
npm exec electron-builder -- \
--dir \
-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 fde9267

Please sign in to comment.