Only compute derivations if there are any to fix
This commit is contained in:
parent
42e45c0917
commit
76cc8d82b9
1 changed files with 172 additions and 171 deletions
|
|
@ -1530,6 +1530,7 @@ WHERE builder != 'builtin:download'
|
|||
#:ignore-targets ignore-targets)))
|
||||
(simple-format #t "~A broken derivations\n"
|
||||
(length broken-derivations))
|
||||
(unless (= 0 broken-derivations)
|
||||
(run-fibers
|
||||
(lambda ()
|
||||
(with-exception-handler
|
||||
|
|
@ -1709,7 +1710,7 @@ WHERE builder != 'builtin:download'
|
|||
(length broken-derivations))
|
||||
|
||||
(for-each fix-derivation
|
||||
broken-derivations)))
|
||||
broken-derivations))))
|
||||
|
||||
(define* (derivation-file-names->derivation-ids postgresql-connection-pool
|
||||
call-with-utility-thread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue