GNU bug report logs - #37323
[PATCH 2/2] updated import crate docs

Previous Next

Package: guix-patches;

Reported by: Martin Becze <mjbecze <at> riseup.net>

Date: Fri, 6 Sep 2019 15:33:03 UTC

Severity: normal

Tags: patch

Merged with 37322

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Martin Becze <mjbecze <at> riseup.net>
To: 37323 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [bug#37323] [PATCH 2/2] updated import crate docs
Date: Fri,  6 Sep 2019 11:32:11 -0400
---
 doc/guix.texi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 6d6a09b36b..5c568cf929 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8907,8 +8907,14 @@ in Guix.
 
 @item crate
 @cindex crate
-Import metadata from the crates.io Rust package repository
-@uref{https://crates.io, crates.io}.
+Import metadata from the @uref{https://crates.io, crates.io} Rust package repository.
+
+A specific package version may optionally be specified by following the
+package name by an at-sign and a version number as in the following example:
+
+@example
+guix import crate rand@@0.6.5
+@end example
 
 @item opam
 @cindex OPAM
-- 
2.23.0





This bug report was last modified 5 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.