aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/revision
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-13 18:52:08 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-13 18:52:08 +0100
commit941d1af55659eeadf4155b29176e510fd740bc4d (patch)
tree0cac2375505008b39caf51d9a26f58264a84d9fa /guix-data-service/web/revision
parentf15dc5ab0b48f4228a3c545052a1e4daf3e80f15 (diff)
downloaddata-service-941d1af55659eeadf4155b29176e510fd740bc4d.tar
data-service-941d1af55659eeadf4155b29176e510fd740bc4d.tar.gz
Include the revision in the package derivation outputs JSON
Diffstat (limited to 'guix-data-service/web/revision')
-rw-r--r--guix-data-service/web/revision/controller.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/revision/controller.scm b/guix-data-service/web/revision/controller.scm
index 9bedb4e..2052089 100644
--- a/guix-data-service/web/revision/controller.scm
+++ b/guix-data-service/web/revision/controller.scm
@@ -1124,7 +1124,8 @@
mime-types)
((application/json)
(render-json
- `((store_paths
+ `((revision . ,commit-hash)
+ (store_paths
. ,(list->vector
(map (match-lambda
((package-name package-version