This is an automated email from the git hooks/post-receive script.

pelzflorian pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 888fdfd1b1 doc: Improve example for guix-for-channels.
888fdfd1b1 is described below

commit 888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20
Author: Tomas Volf <[email protected]>
AuthorDate: Wed Aug 14 22:59:35 2024 +0200

    doc: Improve example for guix-for-channels.
    
    The example was missing the (gnu packages package-management) import, so it
    did not work.  While the module was mentioned below, I overlooked the
    sentence.  So add it also into the example to make it more obvious.
    
    * doc/guix.texi (Customizing the System-Wide Guix): Add import to example.
    
    Change-Id: Ibc5b0be87d40531397660a3b0747f83b851b004b
    Signed-off-by: Florian Pelz <[email protected]>
---
 doc/guix.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 6e03d8bbcc..27e6f6adf3 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5388,7 +5388,8 @@ returns a package for the given channels, and using it as 
part of your
 operating system configuration, as in this example:
 
 @lisp
-(use-modules (guix channels))
+(use-modules (gnu packages package-management)
+             (guix channels))
 
 (define my-channels
   ;; Channels that should be available to

Reply via email to