From ab51599057464aec3f08c078405dd48148c9a880 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 10 Nov 2019 09:41:32 +0000 Subject: Include the hash algorithm and hash on the formatted derivation page --- guix-data-service/web/view/html.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index ea5641a..5f14722 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -628,7 +628,13 @@ ,(simple-format #f "(\"~A\",\"" output-name) (a (@ (href ,path)) ,(display-store-item path)) - "\")" + "\"," + ,(string-append (if (peek recursive?) "\"r:" "\"") + hash-algorithm) + "\"" + "," + "\"" ,hash "\"" + ")" ,@(if (eq? count-down 0) '() '(","))))) -- cgit v1.2.3