lint: 'inputs-should-be-native' checks for extra-cmake-modules and qttools.
* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when extra-cmake-modules or qttools isn't a native-input.
This commit is contained in:
		
							parent
							
								
									9c97afe858
								
							
						
					
					
						commit
						8f9d70fcb9
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -205,7 +205,13 @@ by two spaces; possible infraction~p at ~{~a~^, ~}")
 | 
				
			||||||
  ;; native inputs.
 | 
					  ;; native inputs.
 | 
				
			||||||
  (let ((linted package)
 | 
					  (let ((linted package)
 | 
				
			||||||
        (inputs (package-inputs package))
 | 
					        (inputs (package-inputs package))
 | 
				
			||||||
        (native-inputs '("pkg-config" "glib:bin" "intltool" "itstool")))
 | 
					        (native-inputs
 | 
				
			||||||
 | 
					          '("pkg-config"
 | 
				
			||||||
 | 
					            "extra-cmake-modules"
 | 
				
			||||||
 | 
					            "glib:bin"
 | 
				
			||||||
 | 
					            "intltool"
 | 
				
			||||||
 | 
					            "itstool"
 | 
				
			||||||
 | 
					            "qttools")))
 | 
				
			||||||
    (match inputs
 | 
					    (match inputs
 | 
				
			||||||
      (((labels packages . outputs) ...)
 | 
					      (((labels packages . outputs) ...)
 | 
				
			||||||
       (for-each (lambda (package output)
 | 
					       (for-each (lambda (package output)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue