summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastor-perez@inria.fr>2026-08-17 10:04:36 +0200
committerLudovic Courtès <ludo@gnu.org>2026-08-21 16:00:22 +0200
commitbc9a4d924b4ee7110cd03e2c5dd066f6bc417dc4 (patch)
treea820cdf01758b7fa434671689a22a518a8b192c8 /doc
parent4cf2792768c8e4fef575b4a2edbf612a24a6e882 (diff)
doc: Add new chapter about Guix extensions.
* doc/guix.texi (Extending Guix): Add new chapter. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d39d4c9aa22..3f0c0c51f4d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -384,6 +384,7 @@ Utilities
384* Invoking guix container:: Process isolation. 384* Invoking guix container:: Process isolation.
385* Invoking guix weather:: Assessing substitute availability. 385* Invoking guix weather:: Assessing substitute availability.
386* Invoking guix processes:: Listing client processes. 386* Invoking guix processes:: Listing client processes.
387* Extending Guix:: Adding commands.
387 388
388Invoking @command{guix build} 389Invoking @command{guix build}
389 390
@@ -13966,6 +13967,7 @@ the Scheme programming interface of Guix in a convenient way.
13966* Invoking guix container:: Process isolation. 13967* Invoking guix container:: Process isolation.
13967* Invoking guix weather:: Assessing substitute availability. 13968* Invoking guix weather:: Assessing substitute availability.
13968* Invoking guix processes:: Listing client processes. 13969* Invoking guix processes:: Listing client processes.
13970* Extending Guix:: Adding commands.
13969@end menu 13971@end menu
13970 13972
13971@node Invoking guix build 13973@node Invoking guix build
@@ -18241,6 +18243,29 @@ Session_PID: 4278
18241@end table 18243@end table
18242@end table 18244@end table
18243 18245
18246@node Extending Guix
18247@section Extending Guix
18248
18249@cindex extensions, of Guix
18250@vindex GUIX_EXTENSIONS_PATH
18251
18252@xref{Utilities}, for examples of commands that come with Guix.
18253
18254One can introduce new Guix commands through the
18255@var{GUIX_EXTENSIONS_PATH} variable. Guix will search that path for
18256Guile modules which expose symbols defined through
18257@code{define-command}.
18258
18259Additionally, the command lookup machinery will search for extensions
18260provided by channels which contain a @file{guix/extensions}
18261subdirectory.
18262
18263We encourage you to contribute your extensions to the
18264@uref{https://codeberg.org/guix-extensions, Guix Extensions}
18265organization. The organization aims to gather community developed Guix
18266extensions that are not ready to be merged into Guix proper or are too
18267niche to be part of Guix.
18268
18244@node Foreign Architectures 18269@node Foreign Architectures
18245@chapter Foreign Architectures 18270@chapter Foreign Architectures
18246 18271