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)))
|
#:ignore-targets ignore-targets)))
|
||||||
(simple-format #t "~A broken derivations\n"
|
(simple-format #t "~A broken derivations\n"
|
||||||
(length broken-derivations))
|
(length broken-derivations))
|
||||||
|
(unless (= 0 broken-derivations)
|
||||||
(run-fibers
|
(run-fibers
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
|
|
@ -1709,7 +1710,7 @@ WHERE builder != 'builtin:download'
|
||||||
(length broken-derivations))
|
(length broken-derivations))
|
||||||
|
|
||||||
(for-each fix-derivation
|
(for-each fix-derivation
|
||||||
broken-derivations)))
|
broken-derivations))))
|
||||||
|
|
||||||
(define* (derivation-file-names->derivation-ids postgresql-connection-pool
|
(define* (derivation-file-names->derivation-ids postgresql-connection-pool
|
||||||
call-with-utility-thread
|
call-with-utility-thread
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue