about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorhuantian <davidtianli@gmail.com>2023-09-11 22:30:50 +0000
committerGitHub <noreply@github.com>2023-09-12 00:30:50 +0200
commitadedd9b597be1913de87b8429923b15efdea8c5b (patch)
tree91695ffd211ab1693b0e8dc639a7f2a44ce7bfe5 /pkgs
parent618af6b147307fa7b7c4ed134ce18b98f4a46178 (diff)
webcord: revert to electron_25 (#254588)
Electron 26 has a bug which causes the app to not display properly.
The fix for now is to revert back to 25, until 27 is released,
which fixes this issue.

See SpacingBat3/WebCord#452 and electron/electron#39515
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/instant-messengers/webcord/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/webcord/default.nix b/pkgs/applications/networking/instant-messengers/webcord/default.nix
index 6018a6f7e533b..f4ae642c79e5a 100644
--- a/pkgs/applications/networking/instant-messengers/webcord/default.nix
+++ b/pkgs/applications/networking/instant-messengers/webcord/default.nix
@@ -6,7 +6,7 @@
 , pipewire
 , libpulseaudio
 , xdg-utils
-, electron_26
+, electron_25
 , makeDesktopItem
 , nix-update-script
 }:
@@ -56,7 +56,7 @@ buildNpmPackage rec {
     install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png
 
     # Add xdg-utils to path via suffix, per PR #181171
-    makeWrapper '${electron_26}/bin/electron' $out/bin/webcord \
+    makeWrapper '${electron_25}/bin/electron' $out/bin/webcord \
       --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/webcord \
       --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \
       --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}" \