electron: fix tray icon in wayland

This commit is contained in:
Attila Koszo 2021-01-02 10:51:13 +01:00
parent 1c52824fed
commit 2320652792
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,7 @@
, libdrm
, mesa
, libxkbcommon
, libappindicator-gtk3
}@args:
let

View file

@ -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 ]
);