about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authornixdrin <146267602+nixdrin@users.noreply.github.com>2023-10-20 00:00:18 +0200
committernixdrin <146267602+nixdrin@users.noreply.github.com>2023-10-20 00:03:30 +0200
commit503e176e3d3a218a48b9d8819c4b044a8bfa218a (patch)
treee866d49bb40cb2fb9ff6ffa6799e41ca37c393cb /pkgs/development/tools
parent083d89547d1d1204e314b06d19451c6e840ecfe4 (diff)
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.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/electron/binary/generic.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/electron/binary/generic.nix b/pkgs/development/tools/electron/binary/generic.nix
index f7e8f6461a4cf..cbd9080989655 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
   ]