unofficial mirror of guix-patches@gnu.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

* bug#72629: [PATCH] doc: Improve example for guix-for-channels.
  2024-08-14 20:59 [bug#72629] [PATCH] doc: Improve example for guix-for-channels Tomas Volf
@ 2024-08-15 14:18 ` pelzflorian (Florian Pelz)
  2024-08-15 21:00   ` [bug#72629] " Tomas Volf
  0 siblings, 1 reply; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-08-15 14:18 UTC (permalink / raw)
  To: Tomas Volf
  Cc: 72629-done, Ludovic Courtès, Maxim Cournoyer,
	Matthew Trzcinski

Added a line to the commit message:

* doc/guix.texi (Customizing the System-Wide Guix): Add import to example.

Pushed as 888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20.  Thank you!

Regards,
Florian




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

* [bug#72629] [PATCH] doc: Improve example for guix-for-channels.
  2024-08-15 14:18 ` bug#72629: " pelzflorian (Florian Pelz)
@ 2024-08-15 21:00   ` Tomas Volf
  0 siblings, 0 replies; 3+ messages in thread
From: Tomas Volf @ 2024-08-15 21:00 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz)
  Cc: 72629-done, Ludovic Courtès, Maxim Cournoyer,
	Matthew Trzcinski

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

On 2024-08-15 16:18:16 +0200, pelzflorian (Florian Pelz) wrote:
> Added a line to the commit message:
>
> * doc/guix.texi (Customizing the System-Wide Guix): Add import to example.

Ah, based on '(standards)Simple Changes' I assumed there is no need to do this
for documentation changes.  Will write it next time.

>
> Pushed as 888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20.  Thank you!

Thank you for merging it :)

Tomas

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).