Actually load the (guix lint) module if it's available

This commit is contained in:
Christopher Baines 2020-04-20 14:29:33 +01:00
parent 4f7eca2490
commit d09a1ca791

View file

@ -447,7 +447,10 @@ WHERE job_id = $1"
%package-table)))))
(and
(or (inferior-eval '(resolve-module '(guix lint) #:ensure #f) inf)
(or (inferior-eval '(and (resolve-module '(guix lint) #:ensure #f)
(use-modules (guix lint))
#t)
inf)
(begin
(simple-format (current-error-port)
"warning: no (guix lint) module found\n")