guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Actually load the (guix lint) module if it's avai


From: Christopher Baines
Subject: branch master updated: Actually load the (guix lint) module if it's available
Date: Mon, 20 Apr 2020 09:29:50 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository data-service.

The following commit(s) were added to refs/heads/master by this push:
     new d09a1ca  Actually load the (guix lint) module if it's available
d09a1ca is described below

commit d09a1ca791007aac5dd0a873b2705ee5e2ffa730
Author: Christopher Baines <address@hidden>
AuthorDate: Mon Apr 20 14:29:33 2020 +0100

    Actually load the (guix lint) module if it's available
---
 guix-data-service/jobs/load-new-guix-revision.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]