mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
@@ -99,6 +99,12 @@ an empty directory if ORIGIN could not be disassembled."
|
||||
(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))
|
||||
|
||||
Reference in New Issue
Block a user