mirror of
https://github.com/corazoncp/awwwards-testing.git
synced 2026-12-01 04:40:31 +00:00
- Provide nodejs_24 and Chromium + chromium-headless-shell + ffmpeg via playwright-driver.selectBrowsers - Wrap headless browser entrypoints to unset WAYLAND_DISPLAY so SwANGLE/SwiftShader initializes WebGL2 on Wayland hosts without mutating the shell environment - Export PLAYWRIGHT_BROWSERS_PATH, PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD, PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS, and PLAYWRIGHT_NIX_VERSION - Add direnv .envrc and ignore .direnv/ and node_modules/ Rationale: Generic Linux Chromium downloads from npx playwright install cannot run on NixOS without FHS shared libraries, and Wayland sessions cause SwANGLE to fail with VK_KHR_wayland_surface unsupported unless WAYLAND_DISPLAY is unset for headless browser processes.
2 lines
10 B
Bash
2 lines
10 B
Bash
use flake
|