mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
disarchive-manifest: Filter out origins without a hash.
* etc/disarchive-manifest.scm (disarchive-collection): Filter out origins with a phony hash.
This commit is contained in:
parent
bd956bc57b
commit
6d4a0ccecb
1 changed files with 6 additions and 0 deletions
|
@ -99,6 +99,12 @@ (define (disarchive-collection origins)
|
|||
(directory-union "disarchive-collection"
|
||||
(filter-map (lambda (origin)
|
||||
(and (tarball-origin? origin)
|
||||
|
||||
;; Dismiss origins with (sha256 #f) such
|
||||
;; as that of IceCat.
|
||||
(and=> (origin-hash origin)
|
||||
content-hash-value)
|
||||
|
||||
(origin->disarchive origin)))
|
||||
origins)
|
||||
#:copy? #t))
|
||||
|
|
Loading…
Reference in a new issue