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 <pelzflorian@pelzflorian.de>
This commit is contained in:
Tomas Volf 2024-08-14 22:59:35 +02:00 committed by Florian Pelz
parent 1e2aca13ee
commit 888fdfd1b1
No known key found for this signature in database
GPG key ID: 300888CB39C63817

View file

@ -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