Update dependencies

This commit is contained in:
Charlotte Van Petegem 2023-10-26 10:31:16 +02:00
parent f18d747c9f
commit 7f9849fe70
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 56 additions and 19 deletions

33
patches/263531.patch Normal file
View file

@ -0,0 +1,33 @@
diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
index 2307c4db01e30e..15ef2f5d4f22c3 100644
--- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
+++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
@@ -8,7 +8,7 @@
, nodejs
, fetchYarnDeps
, fixup_yarn_lock
-, electron_24
+, electron_27
, 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_27}/libexec/electron \
+ -c.electronVersion=${electron_27.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_27}/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 ]} \