Skip to content

Commit

Permalink
Merge pull request #152800 from kalekseev/fix/chromedriver
Browse files Browse the repository at this point in the history
chromedriver: add support for aarch64-darwin
  • Loading branch information
domenkozar authored Jan 3, 2022
2 parents aaf4cd9 + 6e0a2c1 commit 18c84ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkgs/applications/networking/browsers/chromium/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def get_chromedriver_url(system):
return {
'version': chromedriver_version,
'sha256_linux': nix_prefetch_url(get_chromedriver_url('linux64')),
'sha256_darwin': nix_prefetch_url(get_chromedriver_url('mac64'))
'sha256_darwin': nix_prefetch_url(get_chromedriver_url('mac64')),
'sha256_darwin_aarch64': nix_prefetch_url(get_chromedriver_url('mac64_m1'))
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"chromedriver": {
"version": "96.0.4664.45",
"sha256_linux": "15wybxlh38sw7f2bzalf9ivfp8262cpcvhq08nw9d2cj3j39f13m",
"sha256_darwin": "0r3b8wgbd8xjb09f4vc402gp77y2aqjk9hpqvvr6xgdr7nqym20f"
"sha256_darwin": "0r3b8wgbd8xjb09f4vc402gp77y2aqjk9hpqvvr6xgdr7nqym20f",
"sha256_darwin_aarch64": "1yynw8ngs2655blnf1s6r9flbxlwgaybdvgl6r6h7ppl974dl7rm"
}
},
"beta": {
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/tools/selenium/chromedriver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ let
system = "mac64";
sha256 = upstream-info.sha256_darwin;
};

aarch64-darwin = {
system = "mac64_m1";
sha256 = upstream-info.sha256_darwin_aarch64;
};
};

spec = allSpecs.${stdenv.hostPlatform.system}
Expand Down

0 comments on commit 18c84ea

Please sign in to comment.