mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
transformations: Git source transformations honour RECURSIVE?.
* guix/transformations.scm (package-git-url+recursive?): New variable. (package-git-url): Remove variable. (evaluate-git-replacement-specs): Use package-git-url+recursive?. (transform-package-source-branch, transform-package-source-commit, transform-package-source-git-url): Update according to changes above. * doc/guix.texi (Package Transformation Options): Update documentation. * tests/transformations.scm: Update tests. Add tests for RECURSIVE? inheritance with WITH-COMMIT and WITH-SOURCE. Change-Id: Id6a5e6957a9955c8173b06b3e14f2986c6dfc4bc Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
63088c295d
commit
79bc4ebb33
@@ -13586,9 +13586,11 @@ the risks of incompatibility but cannot entirely eliminate them. Choose
|
||||
@item --with-git-url=@var{package}=@var{url}
|
||||
@cindex Git, using the latest commit
|
||||
@cindex latest commit, building
|
||||
Build @var{package} from the latest commit of the @code{master} branch of the
|
||||
Git repository at @var{url}. Git sub-modules of the repository are fetched,
|
||||
recursively.
|
||||
Build @var{package} from the latest commit of the @code{master} branch
|
||||
of the Git repository at @var{url}. Git sub-modules of the repository
|
||||
are fetched, recursively, if @var{package} @code{source} is not a Git
|
||||
repository, otherwise it depends on the inherited value of
|
||||
@code{recursive?}.
|
||||
|
||||
For example, the following command builds the NumPy Python library against the
|
||||
latest commit of the master branch of Python itself:
|
||||
|
||||
Reference in New Issue
Block a user