lint: check-patch-file-names: Use origin-actual-file-name.
This avoids crashes for the patch-file-names checker where a <origin> is used for a patch, but without a value for the file-name field. This is currently the case with the bash package. * guix/lint.scm (check-patch-file-names): Change origin-file-name to origin-actual-file-name.
This commit is contained in:
		
							parent
							
								
									29e4d3ea06
								
							
						
					
					
						commit
						db6290af7c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -679,7 +679,7 @@ patch could not be found." | |||
|                   ((? string? patch) | ||||
|                    (starts-with-package-name? (basename patch))) | ||||
|                   ((? origin? patch) | ||||
|                    (starts-with-package-name? (origin-file-name patch))) | ||||
|                    (starts-with-package-name? (origin-actual-file-name patch))) | ||||
|                   (_  #f))     ;must be some other file-like object | ||||
|                 patches) | ||||
|          '() | ||||
|  |  | |||
		Reference in a new issue