Merge pull request #108208 from Kazimazi/fix/element-desktop

electron: fix tray icon in wayland
This commit is contained in:
Pavol Rusnak 2021-01-02 13:21:49 +01:00 committed by GitHub
commit 0224ebfc4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

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

@ -13,6 +13,7 @@
, libdrm , libdrm
, mesa , mesa
, libxkbcommon , libxkbcommon
, libappindicator-gtk3
}: }:
version: hashes: version: hashes:
@ -56,7 +57,7 @@ let
}; };
electronLibPath = with stdenv.lib; makeLibraryPath ( 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 "9.0.0") [ libdrm mesa ]
++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ] ++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ]
); );