mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
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.
This commit is contained in:
parent
eda4902032
commit
00be2fcb0b
1 changed files with 5 additions and 1 deletions
|
@ -1348,7 +1348,11 @@ (define (try store system)
|
|||
(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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue