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>
This commit is contained in:
parent
88a8ce87a4
commit
6e42660b12
|
@ -21,7 +21,8 @@ Copyright @copyright{} 2015, 2016 Leo Famulari@*
|
||||||
Copyright @copyright{} 2015, 2016 Ricardo Wurmus@*
|
Copyright @copyright{} 2015, 2016 Ricardo Wurmus@*
|
||||||
Copyright @copyright{} 2016 Ben Woodcroft@*
|
Copyright @copyright{} 2016 Ben Woodcroft@*
|
||||||
Copyright @copyright{} 2016 Chris Marusich@*
|
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
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||||
|
@ -11513,9 +11514,10 @@ definition may look like this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
(define my-package
|
(define my-package
|
||||||
(let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7"))
|
(let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7")
|
||||||
|
(revision "1")) ;Guix package revision
|
||||||
(package
|
(package
|
||||||
(version (string-append "0.9-1."
|
(version (string-append "0.9-" revision "."
|
||||||
(string-take commit 7)))
|
(string-take commit 7)))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
|
Loading…
Reference in New Issue