diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-11-24 19:58:19 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-12-02 22:44:33 +0000 |
commit | fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0 (patch) | |
tree | 35d3d6d57e4695317544aacb4709df435912059d /doc | |
parent | a8508f7266f245756b78557861d315e05625c6b2 (diff) | |
download | nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar.gz nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar.bz2 nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar.lz nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar.xz nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.tar.zst nixpkgs-fe16f7d7f91317e087e96089c2a2b9bfe0ab50d0.zip |
fetchFromGitiles: init
This has the same motivation as fetchFromGitHub/fetchFromGitLab -- it's cheaper to download a tarball of a single revision than it is to download a whole history. I could have gone with domain/group/repo, like fetchFromGitLab, but it would have made implementation more difficult, and this syntax means it's a drop-in replacement for fetchgit, so I decided it wasn't worth it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/builders/fetchers.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/builders/fetchers.xml b/doc/builders/fetchers.xml index ff398833491..f07c310dcdf 100644 --- a/doc/builders/fetchers.xml +++ b/doc/builders/fetchers.xml @@ -107,6 +107,17 @@ stdenv.mkDerivation { </varlistentry> <varlistentry> <term> + <literal>fetchFromGitiles</literal> + </term> + <listitem> + <para> + This is used with Gitiles repositories. The arguments expected + are similar to fetchgit. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> <literal>fetchFromBitbucket</literal> </term> <listitem> |