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:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, pkgconfig, libuuid, openssl, libyaml, lzma }:
|
||||
{ stdenv, fetchFromGitiles, pkgconfig, libuuid, openssl, libyaml, lzma }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20180311";
|
||||
@@ -6,8 +6,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
pname = "vboot_reference";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://chromium.googlesource.com/chromiumos/platform/vboot_reference;
|
||||
src = fetchFromGitiles {
|
||||
url = "https://chromium.googlesource.com/chromiumos/platform/vboot_reference";
|
||||
rev = checkout;
|
||||
sha256 = "1zja4ma6flch08h5j2l1hqnxmw2xwylidnddxxd5y2x05dai9ddj";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user