mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
lint: archival: Gracefully handle packages with a #f hash value.
Fixes <https://bugs.gnu.org/47293>. Reported by Luis Felipe. * guix/lint.scm (check-archival): Check whether 'content-hash-value' returns true.
This commit is contained in:
parent
bc8554ecb1
commit
4ac3e010c9
1 changed files with 2 additions and 1 deletions
|
@ -1264,7 +1264,8 @@ (define commit
|
|||
((? origin? origin)
|
||||
;; Since "save" origins are not supported for non-VCS source, all
|
||||
;; we can do is tell whether a given tarball is available or not.
|
||||
(if (origin-hash origin) ;XXX: for ungoogled-chromium
|
||||
(if (and=> (origin-hash origin) ;XXX: for ungoogled-chromium
|
||||
content-hash-value) ;& icecat
|
||||
(let ((hash (origin-hash origin)))
|
||||
(match (lookup-content (content-hash-value hash)
|
||||
(symbol->string
|
||||
|
|
Loading…
Reference in a new issue