mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
substitute: 'lookup-narinfos' returns exactly a list of narinfos.
* guix/scripts/substitute.scm (lookup-narinfos): Filter out #f values from CACHED, such that the end result is exactly a list of narinfos, not interspersed with #f. * guix/scripts/challenge.scm (discrepancies): Assume REMOTE is a list of narinfos.
This commit is contained in:
parent
f151298fa0
commit
a89dde1ed8
2 changed files with 5 additions and 5 deletions
|
@ -125,10 +125,8 @@ taken since we do not import the archives."
|
|||
servers))
|
||||
;; No 'assert-valid-narinfo' on purpose.
|
||||
(narinfos -> (fold (lambda (narinfo vhash)
|
||||
(if narinfo
|
||||
(vhash-cons (narinfo-path narinfo) narinfo
|
||||
vhash)
|
||||
vhash))
|
||||
(vhash-cons (narinfo-path narinfo) narinfo
|
||||
vhash))
|
||||
vlist-null
|
||||
remote)))
|
||||
(return (filter-map (lambda (item local)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue