mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
Merge pull request #322769 from mweinelt/update-python-libraries/identify-git-fetcher
update-python-libraries: Reliably detect nix-prefetch-git
This commit is contained in:
commit
62ad96a239
@ -284,7 +284,7 @@ def _get_latest_version_github(attr_path, package, extension, current_version, t
|
||||
if _get_attr_value(f"{attr_path}.src.leaveDotGit"):
|
||||
git_fetcher_args.append("--leave-dotGit")
|
||||
|
||||
if git_fetcher_args:
|
||||
if git_fetcher_args or _get_attr_value(f"{attr_path}.src.fetcher").endswith("nix-prefetch-git"):
|
||||
algorithm = "sha256"
|
||||
cmd = [
|
||||
"nix-prefetch-git",
|
||||
|
Loading…
Reference in New Issue
Block a user