diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2019-02-08 09:29:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-02-08 10:41:13 +0100 |
commit | 024a6bfba906742c136a47b4099f06880f1d3f15 (patch) | |
tree | 92f9ff01ab8822da80a877843873661ba02852c9 /doc/guix.texi | |
parent | 06fff484cec2abc1702e2131d963ed086c5e0b29 (diff) | |
download | patches-024a6bfba906742c136a47b4099f06880f1d3f15.tar patches-024a6bfba906742c136a47b4099f06880f1d3f15.tar.gz |
guix build: '--with-branch' & co. fetch submodules.
* guix/scripts/build.scm (transform-package-source-branch)[replace]: Add
'recursive?' field to the new package.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 53c133804d..69b6985051 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7289,7 +7289,8 @@ care! Build @var{package} from the latest commit of @var{branch}. The @code{source} field of @var{package} must be an origin with the @code{git-fetch} method (@pxref{origin Reference}) or a @code{git-checkout} object; the repository URL -is taken from that @code{source}. +is taken from that @code{source}. Git sub-modules of the repository are +fetched, recursively. For instance, the following command builds @code{guile-sqlite3} from the latest commit of its @code{master} branch, and then builds @code{guix} (which |