aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-08-14 22:59:35 +0200
committerFlorian Pelz <pelzflorian@pelzflorian.de>2024-08-15 16:04:26 +0200
commit888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20 (patch)
tree2502ae6a103e263cc70566e8542df06016c70e9b
parent1e2aca13eedc71b869e43525549080ba153e2887 (diff)
downloadguix-888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20.tar.gz
guix-888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20.zip
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>
-rw-r--r--doc/guix.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6e03d8bbcc..27e6f6adf3 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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