mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
playwright: drop x86_64-darwin from update script
This commit is contained in:
@@ -15,7 +15,6 @@ const browserNames = Object.keys(browserDownloads);
|
||||
const hostPlatformBySystem = {
|
||||
"x86_64-linux": "ubuntu24.04-x64",
|
||||
"aarch64-linux": "ubuntu24.04-arm64",
|
||||
"x86_64-darwin": "mac15",
|
||||
"aarch64-darwin": "mac15-arm64",
|
||||
};
|
||||
|
||||
|
||||
@@ -70,11 +70,7 @@ let
|
||||
|
||||
darwin = fetchzip {
|
||||
inherit (download) url stripRoot;
|
||||
hash =
|
||||
{
|
||||
aarch64-darwin = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
hash = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -128,11 +128,7 @@ let
|
||||
};
|
||||
chromium-darwin = fetchzip {
|
||||
inherit (download) url stripRoot;
|
||||
hash =
|
||||
{
|
||||
aarch64-darwin = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
hash = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -40,11 +40,7 @@ let
|
||||
};
|
||||
firefox-darwin = fetchzip {
|
||||
inherit (download) url stripRoot;
|
||||
hash =
|
||||
{
|
||||
aarch64-darwin = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
hash = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ playwright_driver_file="$root/driver.nix"
|
||||
playwright_raw_repo_url="https://raw.githubusercontent.com/microsoft/playwright"
|
||||
playwright_mcp_package_file="$root/../../../by-name/pl/playwright-mcp/package.nix"
|
||||
browser_names=(chromium chromium-headless-shell firefox webkit ffmpeg)
|
||||
browser_systems=(x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin)
|
||||
browser_systems=(x86_64-linux aarch64-linux aarch64-darwin)
|
||||
|
||||
github_api_get() {
|
||||
curl "${github_api_curl_args[@]}" -fsSL "$1"
|
||||
|
||||
@@ -202,11 +202,7 @@ let
|
||||
};
|
||||
webkit-darwin = fetchzip {
|
||||
inherit (download) url stripRoot;
|
||||
hash =
|
||||
{
|
||||
aarch64-darwin = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
hash = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user