doc: State that the 'patches' field is unconditional.
* doc/guix.texi (origin Reference): State that 'patches' is unconditional.
This commit is contained in:
		
							parent
							
								
									4c93fe83e8
								
							
						
					
					
						commit
						0dfebdaa9d
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -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,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue