all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72629] [PATCH] doc: Improve example for guix-for-channels.
@ 2024-08-14 20:59 Tomas Volf
  2024-08-15 14:18 ` bug#72629: " pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Volf @ 2024-08-14 20:59 UTC (permalink / raw)
  To: 72629
  Cc: Tomas Volf, Florian Pelz, Ludovic Courtès, Matthew Trzcinski,
	Maxim Cournoyer

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.

Change-Id: Ibc5b0be87d40531397660a3b0747f83b851b004b
---
 doc/guix.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index f018d62014..f379f12bb0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5388,7 +5388,8 @@ Customizing the System-Wide Guix
 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

base-commit: b03eddc326ee4eb26b25743faee2080de6aded7e
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-15 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 20:59 [bug#72629] [PATCH] doc: Improve example for guix-for-channels Tomas Volf
2024-08-15 14:18 ` bug#72629: " pelzflorian (Florian Pelz)
2024-08-15 21:00   ` [bug#72629] " Tomas Volf

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.