Pass systems and targets to find-broken-derivations-in-revision
This commit is contained in:
parent
5701c5ca55
commit
98e1b6b3c7
1 changed files with 9 additions and 3 deletions
|
|
@ -1394,7 +1394,7 @@ SELECT store_path FROM derivation_source_files WHERE id = $1"
|
||||||
|
|
||||||
(define* (find-broken-derivations-in-revision
|
(define* (find-broken-derivations-in-revision
|
||||||
commit
|
commit
|
||||||
#:key (ignore-systems '()) (ignore-targets '()))
|
#:key systems targets (ignore-systems '()) (ignore-targets '()))
|
||||||
(run-fibers
|
(run-fibers
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
|
|
@ -1439,10 +1439,14 @@ WHERE builder != 'builtin:download'
|
||||||
(append!
|
(append!
|
||||||
(map (lambda (system)
|
(map (lambda (system)
|
||||||
(list system ""))
|
(list system ""))
|
||||||
(list-systems conn))
|
(if systems
|
||||||
|
systems
|
||||||
|
(list-systems conn)))
|
||||||
(map (lambda (target)
|
(map (lambda (target)
|
||||||
(list "x86_64-linux" target))
|
(list "x86_64-linux" target))
|
||||||
(valid-targets conn))))))))))
|
(if targets
|
||||||
|
targets
|
||||||
|
(valid-targets conn)))))))))))
|
||||||
#:hz 0
|
#:hz 0
|
||||||
#:parallelism 1
|
#:parallelism 1
|
||||||
#:drain? #t))
|
#:drain? #t))
|
||||||
|
|
@ -1537,6 +1541,8 @@ WHERE builder != 'builtin:download'
|
||||||
(let ((broken-derivations
|
(let ((broken-derivations
|
||||||
(find-broken-derivations-in-revision
|
(find-broken-derivations-in-revision
|
||||||
commit
|
commit
|
||||||
|
#:systems systems
|
||||||
|
#:targets targets
|
||||||
#:ignore-systems ignore-systems
|
#:ignore-systems ignore-systems
|
||||||
#:ignore-targets ignore-targets)))
|
#:ignore-targets ignore-targets)))
|
||||||
(simple-format #t "~A broken derivations\n"
|
(simple-format #t "~A broken derivations\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue