mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
challenge: Report the best narinfo URI.
* guix/scripts/substitute.scm (select-uri): Rename to... (narinfo-best-uri): ... this, and make public. Update callers. * guix/scripts/challenge.scm (summarize-report): Use 'narinfo-best-uri' instead of (first (narinfo-uris ...)).
This commit is contained in:
parent
044277f610
commit
4736d06f78
2 changed files with 5 additions and 4 deletions
|
@ -192,7 +192,7 @@ inconclusive reports."
|
|||
(report (G_ " no local build for '~a'~%") item))
|
||||
(for-each (lambda (narinfo)
|
||||
(report (G_ " ~50a: ~a~%")
|
||||
(uri->string (first (narinfo-uris narinfo)))
|
||||
(uri->string (narinfo-best-uri narinfo))
|
||||
(hash->string
|
||||
(narinfo-hash->sha256 (narinfo-hash narinfo)))))
|
||||
narinfos))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue