From 2320652792515c2821931effe5df2b3f6977014a Mon Sep 17 00:00:00 2001 From: Attila Koszo Date: Sat, 2 Jan 2021 10:51:13 +0100 Subject: [PATCH] electron: fix tray icon in wayland --- pkgs/development/tools/electron/default.nix | 1 + pkgs/development/tools/electron/generic.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/electron/default.nix b/pkgs/development/tools/electron/default.nix index 07953ea439f..29d00a159ab 100644 --- a/pkgs/development/tools/electron/default.nix +++ b/pkgs/development/tools/electron/default.nix @@ -13,6 +13,7 @@ , libdrm , mesa , libxkbcommon +, libappindicator-gtk3 }@args: let diff --git a/pkgs/development/tools/electron/generic.nix b/pkgs/development/tools/electron/generic.nix index ee3609783c2..6d0dbc8cace 100644 --- a/pkgs/development/tools/electron/generic.nix +++ b/pkgs/development/tools/electron/generic.nix @@ -13,6 +13,7 @@ , libdrm , mesa , libxkbcommon +, libappindicator-gtk3 }: version: hashes: @@ -56,7 +57,7 @@ let }; electronLibPath = with stdenv.lib; makeLibraryPath ( - [ libuuid at-spi2-atk at-spi2-core ] + [ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 ] ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ] ++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ] );