Handle 0 derivations in package-data-vhash->derivations-and-build-status
This commit is contained in:
parent
daa2790f59
commit
5fcabe95f2
1 changed files with 9 additions and 9 deletions
|
|
@ -109,15 +109,15 @@ ORDER BY base_packages.name DESC, base_packages.version, target_packages.name, t
|
||||||
vhash))
|
vhash))
|
||||||
|
|
||||||
(let* ((derivation-file-names
|
(let* ((derivation-file-names
|
||||||
(vhash->derivation-file-names packages-vhash))
|
(vhash->derivation-file-names packages-vhash)))
|
||||||
(derivation-data
|
(if (null? derivation-file-names)
|
||||||
|
'()
|
||||||
(select-derivations-and-build-status
|
(select-derivations-and-build-status
|
||||||
conn
|
conn
|
||||||
#:file-names derivation-file-names
|
#:file-names derivation-file-names
|
||||||
#:systems (if (null? systems) #f systems)
|
#:systems (if (null? systems) #f systems)
|
||||||
#:targets (if (null? targets) #f targets)
|
#:targets (if (null? targets) #f targets)
|
||||||
#:build-statuses (if (null? build-statuses) #f build-statuses))))
|
#:build-statuses (if (null? build-statuses) #f build-statuses)))))
|
||||||
derivation-data))
|
|
||||||
|
|
||||||
(define (package-data-vhash->package-name-and-version-vhash vhash)
|
(define (package-data-vhash->package-name-and-version-vhash vhash)
|
||||||
(vhash-fold (lambda (name details result)
|
(vhash-fold (lambda (name details result)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue