Include the commit hash in the revision JSON response
For the latest processed revision, this is useful for looking up which is the latest processed revision.
This commit is contained in:
parent
a7c9daab6a
commit
cbef46e682
1 changed files with 2 additions and 1 deletions
|
|
@ -477,7 +477,8 @@
|
||||||
mime-types)
|
mime-types)
|
||||||
((application/json)
|
((application/json)
|
||||||
(render-json
|
(render-json
|
||||||
`((packages_count . ,(caar packages-count))
|
`((revision . ((commit . ,commit-hash)))
|
||||||
|
(packages_count . ,(caar packages-count))
|
||||||
(derivations_counts . ,(list->vector
|
(derivations_counts . ,(list->vector
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((system target derivation_count)
|
((system target derivation_count)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue