doc: State that the 'patches' field is unconditional.

* doc/guix.texi (origin Reference): State that 'patches' is
unconditional.
This commit is contained in:
Ludovic Courtès 2016-11-03 11:26:42 +01:00
parent 4c93fe83e8
commit 0dfebdaa9d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2808,6 +2808,10 @@ file name explicitly because the default is not very descriptive.
@item @code{patches} (default: @code{'()}) @item @code{patches} (default: @code{'()})
A list of file names containing patches to be applied to the source. 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}) @item @code{snippet} (default: @code{#f})
A G-expression (@pxref{G-Expressions}) or S-expression that will be run 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, in the source directory. This is a convenient way to modify the source,