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