From 0dfebdaa9d3eb107d96a12dfa506d79e34dceaf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Thu, 3 Nov 2016 11:26:42 +0100
Subject: [PATCH] doc: State that the 'patches' field is unconditional.

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

diff --git a/doc/guix.texi b/doc/guix.texi
index 38c6ccb6bc6..a582db1ce76 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,
-- 
GitLab