(address . guix-patches@gnu.org)
* guix.texi (Invoking guix import): Mention support for Mercurial repositories
for the CRAN importer, and some caveats with the Git and Mercurial backends.
---
Prompted by Ricardo’s comments on the “Accuracy of importers” thread:
doc/guix.texi | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Toggle diff (32 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 22215214e0..661e29e69c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11852,14 +11852,20 @@
guix import cran --archive=bioconductor GenomicRanges
@end example
-Finally, you can also import R packages that have not yet been published on
-CRAN or Bioconductor as long as they are in a git repository. Use
-@option{--archive=git} followed by the URL of the git repository:
+Finally, you can also import R packages that have not yet been published
+on CRAN or Bioconductor as long as they are in a Git or Mercurial
+repository. Use @option{--archive=git} or @option{--archive=hg}
+followed by the URL of the repository:
@example
guix import cran --archive=git https://github.com/immunogenomics/harmony
@end example
+One limitation of this is that dependencies that are also hosted on Git
+or Mercurial repositories cannot be imported. Also, note that the
+@command{hg} executable has to be in the users's @env{PATH} for the
+Mercurial backend to work.
+
@item texlive
@cindex TeX Live
@cindex CTAN
base-commit: cd188b9c6f28bd907b625a5cd6c616d1d2529671
--
2.33.0