From 88fec5f29ec03031ce6b8c0d38ee0d1b6f0ca048 Mon Sep 17 00:00:00 2001 From: Brandon Weeks Date: Mon, 7 Feb 2022 20:45:12 -0800 Subject: [PATCH] electron: depend on libglvnd Despite shipping libGLES.v2.so, Chromium also expect libGLESv2.so.2 to exist as a system library. This is the same fix as 9086ae6 was for Chrome. --- pkgs/development/tools/electron/default.nix | 1 + pkgs/development/tools/electron/generic.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pkgs/development/tools/electron/default.nix b/pkgs/development/tools/electron/default.nix index e61c77b6151c..b2204775f7ae 100644 --- a/pkgs/development/tools/electron/default.nix +++ b/pkgs/development/tools/electron/default.nix @@ -15,6 +15,7 @@ , libxkbcommon , libappindicator-gtk3 , libxshmfence +, libglvnd }@args: let diff --git a/pkgs/development/tools/electron/generic.nix b/pkgs/development/tools/electron/generic.nix index 004774334b91..c8fd96416952 100644 --- a/pkgs/development/tools/electron/generic.nix +++ b/pkgs/development/tools/electron/generic.nix @@ -15,6 +15,7 @@ , libxkbcommon , libappindicator-gtk3 , libxshmfence +, libglvnd }: version: hashes: @@ -64,6 +65,7 @@ let ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ] ++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ] ++ optionals (! versionOlder version "12.0.0") [ libxshmfence ] + ++ optionals (! versionOlder version "17.0.0") [ libglvnd ] ); linux = {