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 /guix/scripts/build.scm | |
parent | 06fff484cec2abc1702e2131d963ed086c5e0b29 (diff) |
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 'guix/scripts/build.scm')
-rw-r--r-- | guix/scripts/build.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm index 5a158799ae..fb7e04904d 100644 --- a/guix/scripts/build.scm +++ b/guix/scripts/build.scm @@ -308,7 +308,8 @@ strings like \"guile-next=stable-3.0\" meaning that packages are built using (package (inherit old) (version (string-append "git." branch)) - (source (git-checkout (url url) (branch branch))))) + (source (git-checkout (url url) (branch branch) + (recursive? #t))))) (let* ((replacements (evaluate-git-replacement-specs replacement-specs replace)) |