Merge pull request #195092 from kalekseev/master

chromedriver: fix darwin aarch64
This commit is contained in:
Jörg Thalheim 2022-10-08 15:37:08 +02:00 committed by GitHub
commit 3a1a7a3105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 8 deletions

View file

@ -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'))
}

View file

@ -15,7 +15,7 @@
"version": "106.0.5249.61",
"sha256_linux": "0l2270d5az46pc6icpn3zx7yr8ilkszsrfy3qmwrx3cyc4xnmznj",
"sha256_darwin": "07k76i9m3j34h6ybn1wafy39d2ngf06bhp24qzwvv45rks714hqa",
"sha256_darwin_aarch64": "0000000000000000000000000000000000000000000000000000000000000000"
"sha256_darwin_aarch64": "1nvid0s44nlzy46cgxzsyyb3jfpyl3xy7aqafwskmbxdczx7bdap"
}
},
"beta": {

View file

@ -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}