guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/1] Fix incorrect example package recipe in docs.


From: Ian Denhardt
Subject: [PATCH 1/1] Fix incorrect example package recipe in docs.
Date: Sat, 27 Sep 2014 18:36:10 -0400

In the section of the manual that first explains how to write a package
recipe, the example didn't work. The fix is trivial, just use
define-public instead of define.
---
 doc/guix.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index f73ce52..813c133 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1371,7 +1371,7 @@ package looks like this:
   #:use-module (guix build-system gnu)
   #:use-module (guix licenses))
 
-(define hello
+(define-public hello
   (package
     (name "hello")
     (version "2.8")
-- 
2.1.1




reply via email to

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