aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-04-20 14:29:33 +0100
committerChristopher Baines <mail@cbaines.net>2020-04-20 14:29:33 +0100
commitd09a1ca791007aac5dd0a873b2705ee5e2ffa730 (patch)
treecb788c94c009f5e956d798b11ba383d27b75b2f8
parent4f7eca24909a438c2b40740244bf793a0eab0473 (diff)
downloaddata-service-d09a1ca791007aac5dd0a873b2705ee5e2ffa730.tar
data-service-d09a1ca791007aac5dd0a873b2705ee5e2ffa730.tar.gz
Actually load the (guix lint) module if it's available
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index ef4b31b..34362b7 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -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")