From 3d50284bb23e2a7e5031206e03cabd9e10b8907d Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 5 Oct 2022 20:24:11 +0200 Subject: [PATCH] chromedriver: Disable on aarch64-darwin chromedriver_mac64_m1.zip is currently not available anymore and I do not have time to look into it: path is '/nix/store/zhz7hrk94dc0dn7a42czhd1nz9142826-chromedriver_mac64.zip' nix-prefetch-url https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_mac64_m1.zip error: unable to download 'https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_mac64_m1.zip': HTTP error 404 response body: NoSuchKeyThe specified key does not exist.
No such object: chromedriver/106.0.5249.61/chromedriver_mac64_m1.zip
--- pkgs/applications/networking/browsers/chromium/update.py | 4 +++- pkgs/development/tools/selenium/chromedriver/default.nix | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/update.py b/pkgs/applications/networking/browsers/chromium/update.py index 8341f2c6ee22..32e2dd010bec 100755 --- a/pkgs/applications/networking/browsers/chromium/update.py +++ b/pkgs/applications/networking/browsers/chromium/update.py @@ -70,7 +70,9 @@ 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')), - 'sha256_darwin_aarch64': nix_prefetch_url(get_chromedriver_url('mac64_m1')) + # 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" } diff --git a/pkgs/development/tools/selenium/chromedriver/default.nix b/pkgs/development/tools/selenium/chromedriver/default.nix index 2ce075272ebb..5e7ca890155d 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 = "mac64_m1"; + # sha256 = upstream-info.sha256_darwin_aarch64; + # }; }; spec = allSpecs.${stdenv.hostPlatform.system}