summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-03 11:26:42 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-03 11:27:38 +0100
commit0dfebdaa9d3eb107d96a12dfa506d79e34dceaf2 (patch)
tree4c56b3601a127f9d4fbec881a667f67edd6b9b6d /doc/guix.texi
parent4c93fe83e89473b2d16b93900c87e0da0ceecd6e (diff)
downloadguix-0dfebdaa9d3eb107d96a12dfa506d79e34dceaf2.tar.gz
doc: State that the 'patches' field is unconditional.
* doc/guix.texi (origin Reference): State that 'patches' is
unconditional.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 38c6ccb6bc..a582db1ce7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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,