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.master
parent
9c97afe858
commit
8f9d70fcb9
|
@ -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 New Issue