guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: Include the revision in the package derivation outputs JSON


From: Christopher Baines
Subject: 02/06: Include the revision in the package derivation outputs JSON
Date: Tue, 13 Oct 2020 15:18:02 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit 941d1af55659eeadf4155b29176e510fd740bc4d
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Oct 13 18:52:08 2020 +0100

    Include the revision in the package derivation outputs JSON
---
 guix-data-service/web/revision/controller.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]