From 503e176e3d3a218a48b9d8819c4b044a8bfa218a Mon Sep 17 00:00:00 2001 From: nixdrin <146267602+nixdrin@users.noreply.github.com> Date: Fri, 20 Oct 2023 00:00:18 +0200 Subject: [PATCH] electron-bin: add pciutils to electronLibPath libpci.so is needed at runtime to detect GPU vendor/device IDs properly, so that Chromium's blocklists that workaround various GPU driver bugs can be applied correctly. --- pkgs/development/tools/electron/binary/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/electron/binary/generic.nix b/pkgs/development/tools/electron/binary/generic.nix index f7e8f6461a4c..cbd908098965 100644 --- a/pkgs/development/tools/electron/binary/generic.nix +++ b/pkgs/development/tools/electron/binary/generic.nix @@ -24,6 +24,7 @@ , xorg , pango , systemd +, pciutils }: version: hashes: @@ -92,6 +93,7 @@ let xorg.libXrandr xorg.libxkbfile pango + pciutils stdenv.cc.cc.lib systemd ]