~ruther/guix-local

8f9d70fcb9b55aea56515e2f4f55351ff544022a — David Craven 9 years ago 9c97afe
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.
1 files changed, 7 insertions(+), 1 deletions(-)

M guix/scripts/lint.scm
M guix/scripts/lint.scm => guix/scripts/lint.scm +7 -1
@@ 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)