guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: doc: Better illustration use of package revision numbers.


From: Ludovic Courtès
Subject: 02/02: doc: Better illustration use of package revision numbers.
Date: Tue, 26 Jul 2016 12:57:14 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 6e42660b12c006f27381e516d9e5119a64788638
Author: ng0 <address@hidden>
Date:   Sun Jul 10 19:15:38 2016 +0000

    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 <address@hidden>
---
 doc/guix.texi |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index de139e6..9fb125d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -21,7 +21,8 @@ Copyright @copyright{} 2015, 2016 Leo address@hidden
 Copyright @copyright{} 2015, 2016 Ricardo address@hidden
 Copyright @copyright{} 2016 Ben address@hidden
 Copyright @copyright{} 2016 Chris address@hidden
-Copyright @copyright{} 2016 Efraim Flashner
+Copyright @copyright{} 2016 Efraim address@hidden
+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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]