doc: 'patches' field of <origin> can list file-like objects.

Fixes <http://bugs.gnu.org/27165>.
Reported by sirgazil <sirgazil@zoho.com>.

* doc/guix.texi (origin Reference): 'patches' can contain file-like
objects.
This commit is contained in:
Ludovic Courtès 2017-08-03 00:14:53 +02:00
parent edd08fb7ac
commit ec5495ba3f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -3290,7 +3290,8 @@ used. For version control checkouts, it is recommended to provide the
file name explicitly because the default is not very descriptive. 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, origins, or file-like objects (@pxref{G-Expressions,
file-like objects}) pointing to patches to be applied to the source.
This list of patches must be unconditional. In particular, it cannot This list of patches must be unconditional. In particular, it cannot
depend on the value of @code{%current-system} or depend on the value of @code{%current-system} or