teams-for-linux: electron_35 -> electron_37
Was bumped to 36 in 2.0.16, but also bumped to 37 in most recent release. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
609e3538e9
commit
023913eb2a
@ -5,7 +5,7 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
alsa-utils,
|
alsa-utils,
|
||||||
copyDesktopItems,
|
copyDesktopItems,
|
||||||
electron_35,
|
electron_37,
|
||||||
makeDesktopItem,
|
makeDesktopItem,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
@ -46,7 +46,7 @@ buildNpmPackage rec {
|
|||||||
''
|
''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
cp -r ${electron_35.dist} electron-dist
|
cp -r ${electron_37.dist} electron-dist
|
||||||
chmod -R u+w electron-dist
|
chmod -R u+w electron-dist
|
||||||
''
|
''
|
||||||
# Electron builder complains about symlink in electron-dist
|
# Electron builder complains about symlink in electron-dist
|
||||||
@ -61,7 +61,7 @@ buildNpmPackage rec {
|
|||||||
-c.npmRebuild=true \
|
-c.npmRebuild=true \
|
||||||
-c.asarUnpack="**/*.node" \
|
-c.asarUnpack="**/*.node" \
|
||||||
-c.electronDist=electron-dist \
|
-c.electronDist=electron-dist \
|
||||||
-c.electronVersion=${electron_35.version}
|
-c.electronVersion=${electron_37.version}
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
@ -83,7 +83,7 @@ buildNpmPackage rec {
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# Linux needs 'aplay' for notification sounds
|
# Linux needs 'aplay' for notification sounds
|
||||||
makeWrapper '${lib.getExe electron_35}' "$out/bin/teams-for-linux" \
|
makeWrapper '${lib.getExe electron_37}' "$out/bin/teams-for-linux" \
|
||||||
--prefix PATH : ${
|
--prefix PATH : ${
|
||||||
lib.makeBinPath [
|
lib.makeBinPath [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user