fix(nix): update playwright-web-flake to version 1.57.0 and adjust overlay for chromium

This commit is contained in:
Ondra-Zik-SL
2026-01-05 15:34:31 +01:00
committed by Martin Vere Cihlar
parent 4bf0cf4433
commit 4420529eee
2 changed files with 12 additions and 9 deletions

14
flake.lock generated
View File

@@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1763283776, "lastModified": 1767379071,
"narHash": "sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c+i7novT85Uk=", "narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a", "rev": "fb7944c166a3b630f177938e478f0378e64ce108",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -86,16 +86,16 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1755759088, "lastModified": 1764677445,
"narHash": "sha256-lW2EfwKyCTye30g2yqFXFFv/yVr0G+Wna1FLfHdEhlQ=", "narHash": "sha256-TKpMwDUR6dJ3JG0Ypw9y/tIiZbqEVnzGWbsqZRMoqgs=",
"owner": "pietdevries94", "owner": "pietdevries94",
"repo": "playwright-web-flake", "repo": "playwright-web-flake",
"rev": "8cfb83f241f326b62e69597cda66ad2ea2dbf340", "rev": "276c607189273ab3b4a3e163fed738bef7f18a7c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "pietdevries94", "owner": "pietdevries94",
"ref": "1.55.0", "ref": "1.57.0",
"repo": "playwright-web-flake", "repo": "playwright-web-flake",
"type": "github" "type": "github"
} }

View File

@@ -12,8 +12,11 @@
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
overlay = final: prev: { overlay = final: prev: {
# Overlay playwright packages # Overlay playwright packages with chromium from nixpkgs unstable
inherit (playwright-web-flake.packages.${system}) playwright-test playwright-driver; playwright-driver = (playwright-web-flake.packages.${system}.playwright-driver.override {
chromium = prev.chromium;
});
playwright-test = playwright-web-flake.packages.${system}.playwright-test;
# Override GCC with older version # Override GCC with older version
gccPkgs = import old-gcc-nixpkgs { system = prev.system; }; gccPkgs = import old-gcc-nixpkgs { system = prev.system; };