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:45:06 +00:00
parent fe16f7d7f9
commit a8e63e4f74
6 changed files with 25 additions and 22 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchgit, libcap }:
{ stdenv, fetchFromGitiles, libcap }:
stdenv.mkDerivation rec {
shortname = "minijail";
name = "${shortname}-${version}";
version = "android-9.0.0_r3";
src = fetchgit {
src = fetchFromGitiles {
url = "https://android.googlesource.com/platform/external/minijail";
rev = version;
sha256 = "1g1g52s3q61amcnx8cv1332sbixpck1bmjzgsrjiw5ix7chrzkp2";