From 00be2fcb0b79641790a793df7640344e96283a2a Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 23 May 2022 23:18:30 +0100 Subject: lint: check-derivation: Catch all exceptions. Rather than raising the exception. I'm looking at this as the linux-module-build-system is broken in such a way that this causes the derivation linter to error. With this change, it correctly reports the issue. * guix/lint.scm (check-derivation): Catch all exceptions. --- guix/lint.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'guix/lint.scm') diff --git a/guix/lint.scm b/guix/lint.scm index e535eb8158..375f189335 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -1348,7 +1348,11 @@ descriptions maintained upstream." (formatted-message-arguments c)))) (make-warning package (G_ "failed to create ~a derivation: ~a") - (list system str))))) + (list system str)))) + (else + (make-warning package + (G_ "failed to create ~a derivation: ~a") + (list system c)))) (parameterize ((%graft? #f)) (package-derivation store package system #:graft? #f) -- cgit v1.2.3