all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tomas Volf <~@wolfsden.cz>
To: 72629@debbugs.gnu.org
Cc: "Tomas Volf" <~@wolfsden.cz>,
	"Florian Pelz" <pelzflorian@pelzflorian.de>,
	"Ludovic Courtès" <ludo@gnu.org>,
	"Matthew Trzcinski" <matt@excalamus.com>,
	"Maxim Cournoyer" <maxim.cournoyer@gmail.com>
Subject: [bug#72629] [PATCH] doc: Improve example for guix-for-channels.
Date: Wed, 14 Aug 2024 22:59:35 +0200	[thread overview]
Message-ID: <a214403622430103b56f6cb20432b8a14d85f45f.1723669175.git.~@wolfsden.cz> (raw)

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





             reply	other threads:[~2024-08-14 21:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14 20:59 Tomas Volf [this message]
2024-08-15 14:18 ` bug#72629: [PATCH] doc: Improve example for guix-for-channels pelzflorian (Florian Pelz)
2024-08-15 21:00   ` [bug#72629] " Tomas Volf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a214403622430103b56f6cb20432b8a14d85f45f.1723669175.git.~@wolfsden.cz' \
    --to=~@wolfsden.cz \
    --cc=72629@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=matt@excalamus.com \
    --cc=maxim.cournoyer@gmail.com \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.