lint: Use the "@" syntax for versioned packages in warnings.
* guix/scripts/lint.scm (emit-warning): Use the "@" syntax.
This commit is contained in:
		
							parent
							
								
									fae88ae884
								
							
						
					
					
						commit
						f1a892c96f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -90,9 +90,9 @@ | ||||||
|   ;; provided MESSAGE. |   ;; provided MESSAGE. | ||||||
|   (let ((loc (or (package-field-location package field) |   (let ((loc (or (package-field-location package field) | ||||||
|                  (package-location package)))) |                  (package-location package)))) | ||||||
|     (format (guix-warning-port) "~a: ~a: ~a~%" |     (format (guix-warning-port) "~a: ~a@~a: ~a~%" | ||||||
|             (location->string loc) |             (location->string loc) | ||||||
|             (package-full-name package) |             (package-name package) (package-version package) | ||||||
|             message))) |             message))) | ||||||
| 
 | 
 | ||||||
| (define (call-with-accumulated-warnings thunk) | (define (call-with-accumulated-warnings thunk) | ||||||
|  |  | ||||||
		Reference in a new issue