~ruther/guix-local

0dfebdaa9d3eb107d96a12dfa506d79e34dceaf2 — Ludovic Courtès 9 years ago 4c93fe8
doc: State that the 'patches' field is unconditional.

* doc/guix.texi (origin Reference): State that 'patches' is
unconditional.
1 files changed, 4 insertions(+), 0 deletions(-)

M doc/guix.texi
M doc/guix.texi => doc/guix.texi +4 -0
@@ 2808,6 2808,10 @@ file name explicitly because the default is not very descriptive.
@item @code{patches} (default: @code{'()})
A list of file names containing patches to be applied to the source.

This list of patches must be unconditional.  In particular, it cannot
depend on the value of @code{%current-system} or
@code{%current-target-system}.

@item @code{snippet} (default: @code{#f})
A G-expression (@pxref{G-Expressions}) or S-expression that will be run
in the source directory.  This is a convenient way to modify the source,