From c02b06d612c164d4915675080516a4c43068f2a4 Mon Sep 17 00:00:00 2001 From: Konstantin Alekseev Date: Sat, 8 Oct 2022 16:07:59 +0300 Subject: [PATCH] chromedriver: fix darwin aarch64 --- pkgs/applications/networking/browsers/chromium/update.py | 4 +--- .../networking/browsers/chromium/upstream-info.json | 2 +- pkgs/development/tools/selenium/chromedriver/default.nix | 8 ++++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/update.py b/pkgs/applications/networking/browsers/chromium/update.py index 32e2dd010bec..2a370a1a33b8 100755 --- a/pkgs/applications/networking/browsers/chromium/update.py +++ b/pkgs/applications/networking/browsers/chromium/update.py @@ -70,9 +70,7 @@ def get_matching_chromedriver(version): 'version': chromedriver_version, 'sha256_linux': nix_prefetch_url(get_chromedriver_url('linux64')), 'sha256_darwin': nix_prefetch_url(get_chromedriver_url('mac64')), - # TODO: No such object: chromedriver/106.0.5249.61/chromedriver_mac64_m1.zip: - # 'sha256_darwin_aarch64': nix_prefetch_url(get_chromedriver_url('mac64_m1')) - 'sha256_darwin_aarch64': "0000000000000000000000000000000000000000000000000000000000000000" + 'sha256_darwin_aarch64': nix_prefetch_url(get_chromedriver_url('mac_arm64')) } diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.json b/pkgs/applications/networking/browsers/chromium/upstream-info.json index 6fa23f9a10ad..f63db845d583 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.json +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.json @@ -15,7 +15,7 @@ "version": "106.0.5249.61", "sha256_linux": "0l2270d5az46pc6icpn3zx7yr8ilkszsrfy3qmwrx3cyc4xnmznj", "sha256_darwin": "07k76i9m3j34h6ybn1wafy39d2ngf06bhp24qzwvv45rks714hqa", - "sha256_darwin_aarch64": "0000000000000000000000000000000000000000000000000000000000000000" + "sha256_darwin_aarch64": "1nvid0s44nlzy46cgxzsyyb3jfpyl3xy7aqafwskmbxdczx7bdap" } }, "beta": { diff --git a/pkgs/development/tools/selenium/chromedriver/default.nix b/pkgs/development/tools/selenium/chromedriver/default.nix index 5e7ca890155d..e1f3d4375b34 100644 --- a/pkgs/development/tools/selenium/chromedriver/default.nix +++ b/pkgs/development/tools/selenium/chromedriver/default.nix @@ -18,10 +18,10 @@ let sha256 = upstream-info.sha256_darwin; }; - # aarch64-darwin = { - # system = "mac64_m1"; - # sha256 = upstream-info.sha256_darwin_aarch64; - # }; + aarch64-darwin = { + system = "mac_arm64"; + sha256 = upstream-info.sha256_darwin_aarch64; + }; }; spec = allSpecs.${stdenv.hostPlatform.system}