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.
25 lines
619 B
JSON
25 lines
619 B
JSON
{
|
|
"nodes": {
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1793341285,
|
|
"narHash": "sha256-LOv16TsMYV2/8BUYnhSxHkOASe7es2ORbqMeLlZJ8Hc=",
|
|
"rev": "1c89083e451e891152365b799595cf7790a43325",
|
|
"type": "tarball",
|
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1105037.1c89083e451e/nixexprs.tar.zst"
|
|
},
|
|
"original": {
|
|
"type": "tarball",
|
|
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|