mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
substitutes: Ignore corrupt cached narinfos.
* guix/substitutes.scm (cached-narinfo): Add ‘eof-object?’ clause. Change-Id: I2d776f64b6521f778b4ab3f956b35cdef2ddb383
This commit is contained in:
parent
5525315092
commit
3271843122
1 changed files with 2 additions and 0 deletions
|
@ -316,6 +316,8 @@ for PATH."
|
|||
(values #f #f)
|
||||
(values #t (string->narinfo value cache-uri))))
|
||||
(('narinfo ('version v) _ ...)
|
||||
(values #f #f))
|
||||
((? eof-object?) ;corrupt file
|
||||
(values #f #f))))))
|
||||
(lambda _
|
||||
(values #f #f))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue