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,
|
||||
alsa-utils,
|
||||
copyDesktopItems,
|
||||
electron_35,
|
||||
electron_37,
|
||||
makeDesktopItem,
|
||||
makeWrapper,
|
||||
nix-update-script,
|
||||
@ -46,7 +46,7 @@ buildNpmPackage rec {
|
||||
''
|
||||
runHook preBuild
|
||||
|
||||
cp -r ${electron_35.dist} electron-dist
|
||||
cp -r ${electron_37.dist} electron-dist
|
||||
chmod -R u+w electron-dist
|
||||
''
|
||||
# Electron builder complains about symlink in electron-dist
|
||||
@ -61,7 +61,7 @@ buildNpmPackage rec {
|
||||
-c.npmRebuild=true \
|
||||
-c.asarUnpack="**/*.node" \
|
||||
-c.electronDist=electron-dist \
|
||||
-c.electronVersion=${electron_35.version}
|
||||
-c.electronVersion=${electron_37.version}
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
@ -83,7 +83,7 @@ buildNpmPackage rec {
|
||||
popd
|
||||
|
||||
# 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 : ${
|
||||
lib.makeBinPath [
|
||||
alsa-utils
|
||||
|
Loading…
x
Reference in New Issue
Block a user