vscode: add FHS dependencies for extensions with embedded headless browsers

Adds libraries needed for extensions that require running a standalone headless browser within vscode. For example, plugins that use the Puppeteer library for automation such as Roo Code.

Includes X11, graphics, and audio libraries required for headless browser functionality.

Minimal set of dependencies was determined via trial and error with `nix run github:nix-community/nix-index-database`
This commit is contained in:
Sewer56 2025-08-02 01:33:40 +01:00 committed by Masum Reza
parent 250481b939
commit c37168656b

View File

@ -96,6 +96,31 @@ stdenv.mkDerivation (
# mono
krb5
# Needed for headless browser-in-vscode based plugins such as
# anything based on Puppeteer https://pptr.dev .
# e.g. Roo Code
glib
nspr
nss
dbus
at-spi2-atk
cups
expat
libxkbcommon
xorg.libX11
xorg.libXcomposite
xorg.libXdamage
xorg.libxcb
xorg.libXext
xorg.libXfixes
xorg.libXrandr
cairo
pango
alsa-lib
libgbm
udev
libudev0-shim
])
++ additionalPkgs pkgs;