mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
doc: Give example of when to use describe in .guix-channel file.
* doc/guix.texi (Package Modules in a Sub-directory): Mention "guix deploy" files as an example. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
d0d700526c
commit
de781de2e9
1 changed files with 6 additions and 0 deletions
|
@ -5620,6 +5620,12 @@ The modules must be @b{underneath} the specified directory, as the
|
|||
defined as @code{(define-module (gnu packages fun))} must be located at
|
||||
@code{base/gnu/packages/fun.scm}.
|
||||
|
||||
Doing this allows for only parts of a repository to be used as a
|
||||
channel, as Guix expects valid Guile modules when pulling. For
|
||||
instance, @command{guix deploy} machine configuration files are not
|
||||
valid Guile modules, and treating them as such would make @command{guix
|
||||
pull} fail.
|
||||
|
||||
@node Declaring Channel Dependencies
|
||||
@section Declaring Channel Dependencies
|
||||
|
||||
|
|
Loading…
Reference in a new issue