summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorng0 <ng0@we.make.ritual.n0.is>2016-07-10 19:15:38 +0000
committerLudovic Courtès <ludo@gnu.org>2016-07-26 14:55:47 +0200
commit6e42660b12c006f27381e516d9e5119a64788638 (patch)
treeee82b3fb207d55709a0942ec5f24f8c8a08454c9 /doc
parent88a8ce87a4c016a2869f1e9c81dd71dd0d57d97d (diff)
downloadpatches-6e42660b12c006f27381e516d9e5119a64788638.tar
patches-6e42660b12c006f27381e516d9e5119a64788638.tar.gz
doc: Better illustration use of package revision numbers.
* doc/guix.texi (Version Numbers): Add the revision to the example of the git package used in 7.6.3. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index de139e6b39..9fb125dfea 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -21,7 +21,8 @@ Copyright @copyright{} 2015, 2016 Leo Famulari@*
Copyright @copyright{} 2015, 2016 Ricardo Wurmus@*
Copyright @copyright{} 2016 Ben Woodcroft@*
Copyright @copyright{} 2016 Chris Marusich@*
-Copyright @copyright{} 2016 Efraim Flashner
+Copyright @copyright{} 2016 Efraim Flashner@*
+Copyright @copyright{} 2016 ng0
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -11513,9 +11514,10 @@ definition may look like this:
@example
(define my-package
- (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7"))
+ (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7")
+ (revision "1")) ;Guix package revision
(package
- (version (string-append "0.9-1."
+ (version (string-append "0.9-" revision "."
(string-take commit 7)))
(source (origin
(method git-fetch)