treewide: fetchgit -> fetchFromGitiles

This is only the easy cases -- some fetchgit uses that point to
Gitiles instances are in generated code, where the generating code
would have to know in advance if it was fetching from Gitiles or not.
I don't think this is worth it.
This commit is contained in:
Alyssa Ross
2019-12-02 22:29:40 +00:00
parent fe16f7d7f9
commit a8e63e4f74
6 changed files with 25 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchgit
, fetchFromGitiles
, isPy3k
}:
@@ -9,8 +9,8 @@ buildPythonPackage {
version = "2015-06-11";
disabled = isPy3k;
src = fetchgit {
url = "https://chromium.googlesource.com/external/gyp.git";
src = fetchFromGitiles {
url = "https://chromium.googlesource.com/external/gyp";
rev = "fdc7b812f99e48c00e9a487bd56751bbeae07043";
sha256 = "1imgxsl4mr1662vsj2mlnpvvrbz71yk00w8p85vi5bkgmc6awgiz";
};