diff options
author | Marius Bakke <marius@gnu.org> | 2023-01-03 15:38:13 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2023-01-03 15:38:13 +0100 |
commit | 9123bb0fba3fce976dc41cd3b8919ee73b4cee4d (patch) | |
tree | 50ba63a4a3a6ffeb2f37fd0929813b51e00d01dc /doc | |
parent | ec0fbb471dfc6f72796da9ebafbb0630daa91267 (diff) | |
parent | 71ee1fbbed8ea9788dd48a634653d66606d372ce (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 053cd1ad41..5c85680831 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5614,6 +5614,18 @@ add a meta-data file @file{.guix-channel} that contains: (directory "guix")) @end lisp +The modules must be @b{underneath} the specified directory, as the +@code{directory} changes Guile's @code{load-path}. For example, if +@file{.guix-channel} has @code{(directory "base")}, then a module +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 @@ -13487,6 +13499,10 @@ definitions are to be appended to existing user modules, as the list of used package modules need not be changed. The default is @option{--style=variable}. +When @option{--prefix=license:} is added, the importer will prefix +license atoms with @code{license:}, allowing a prefixed import of +@code{(guix licenses)}. + When @option{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for the analysis and comprehension of high-throughput |