File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 1111 ( builtins . fromJSON ( builtins . readFile "${ pkgs . playwright-driver } /browsers.json" ) ) . browsers ;
1212 chromium-rev = ( builtins . head ( builtins . filter ( x : x . name == "chromium" ) browsers ) ) . revision ;
1313 firefox-rev = ( builtins . head ( builtins . filter ( x : x . name == "firefox" ) browsers ) ) . revision ;
14+ playwrightRuntimeLibraries = with pkgs ; [
15+ stdenv . cc . cc . lib
16+ xorg . libxcb
17+ xorg . libX11
18+ xorg . libXext
19+ xorg . libXrandr
20+ xorg . libXcomposite
21+ xorg . libXcursor
22+ xorg . libXdamage
23+ xorg . libXfixes
24+ xorg . libXi
25+ xorg . libXrender
26+ gtk3
27+ pango
28+ atk
29+ cairo
30+ gdk-pixbuf
31+ glib
32+ alsa-lib
33+ freetype
34+ fontconfig
35+ dbus
36+ ] ;
1437in
1538{
1639 # https://devenv.sh/packages/
2548 PLAYWRIGHT_BROWSERS_PATH = "${ playwright-driver . browsers } " ;
2649 PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH = "${ playwright-driver . browsers } /chromium-${ chromium-rev } /chrome-linux64/chrome" ;
2750 PLAYWRIGHT_FIREFOX_EXECUTABLE_PATH = "${ playwright-driver . browsers } /firefox-${ firefox-rev } /firefox/firefox" ;
28- BIOME_BINARY = "${ biome } /bin/biome" ;
51+ LD_LIBRARY_PATH = lib . makeLibraryPath playwrightRuntimeLibraries ;
52+ BIOME_BINARY = "${ biome } /bin/biome" ;
2953 } ;
3054
3155 # https://devenv.sh/languages/
You can’t perform that action at this time.
0 commit comments