diff mbox series

[bug#72629] doc: Improve example for guix-for-channels.

Message ID a214403622430103b56f6cb20432b8a14d85f45f.1723669175.git.~@wolfsden.cz
State New
Headers show
Series [bug#72629] doc: Improve example for guix-for-channels. | expand

Commit Message

Tomas Volf Aug. 14, 2024, 8:59 p.m. UTC
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(-)


base-commit: b03eddc326ee4eb26b25743faee2080de6aded7e

Comments

pelzflorian (Florian Pelz) Aug. 15, 2024, 2:18 p.m. UTC | #1
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
Tomas Volf Aug. 15, 2024, 9 p.m. UTC | #2
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.
diff mbox series

Patch

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