doc: 7.6.3 example: revision

Message ID 87vb0djodh.fsf@we.make.ritual.n0.is
State Committed
Headers

Commit Message

non such July 10, 2016, 7:15 p.m. UTC
  From a1a8085fa7626bde0fb1f8a28ba62f5a5c85584a Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Sun, 10 Jul 2016 19:07:03 +0000
Subject: [PATCH] doc: Add the revision in the example of 7.6.3.

*doc/guix.texi (Version Numbers): Add the
revision to the example of the git package used in 7.6.3
---
 doc/guix.texi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
  

Comments

Ludovic Courtès July 26, 2016, 12:56 p.m. UTC | #1
ng0 <ng0@we.make.ritual.n0.is> skribis:

> From a1a8085fa7626bde0fb1f8a28ba62f5a5c85584a Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Sun, 10 Jul 2016 19:07:03 +0000
> Subject: [PATCH] doc: Add the revision in the example of 7.6.3.
>
> *doc/guix.texi (Version Numbers): Add the
> revision to the example of the git package used in 7.6.3

Applied, thanks!

Ludo'.
  

Patch

diff --git a/doc/guix.texi b/doc/guix.texi
index c9d9bd8..bca886a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -19,7 +19,8 @@  Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@*
 Copyright @copyright{} 2015, 2016 Leo Famulari@*
 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
@@ -11275,9 +11276,10 @@  definition may look like this:
 
 @example
 (define my-package
-  (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7"))
+  (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7")
+        (revision "1"))
     (package
-      (version (string-append "0.9-1."
+      (version (string-append "0.9-" revision "."
                               (string-take commit 7)))
       (source (origin
                 (method git-fetch)