diff mbox

[04/31] lint: 'inputs-should-be-native' checks for extra-cmake-modules and qttools.

Message ID 20160801181342.16203-5-david@craven.ch
State New
Headers show

Commit Message

David Craven Aug. 1, 2016, 6:13 p.m. UTC
* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when
extra-cmake-modules or qttools isn't a native-input.
---
 guix/scripts/lint.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Ludovic Court├Ęs Aug. 1, 2016, 9:22 p.m. UTC | #1
David Craven <david@craven.ch> skribis:

> * guix/scripts/lint.scm (check-inputs-should-be-native): Warn when
> extra-cmake-modules or qttools isn't a native-input.

LGTM!
diff mbox

Patch

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 8aab1fe..51191e7 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -205,7 +205,13 @@  by two spaces; possible infraction~p at ~{~a~^, ~}")
   ;; native inputs.
   (let ((linted 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
       (((labels packages . outputs) ...)
        (for-each (lambda (package output)