aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-01-31 20:26:47 +0000
committerChristopher Baines <mail@cbaines.net>2022-01-31 20:26:47 +0000
commit86cd96ea87726e6fe52b4e547eb764a2c9ecf1ed (patch)
tree7d0ef9f001c85e7fa491c8ffd21ae919c6979e43
parent752d21ad051900561a13dc6cb6543ea586b90baa (diff)
downloaddata-service-86cd96ea87726e6fe52b4e547eb764a2c9ecf1ed.tar
data-service-86cd96ea87726e6fe52b4e547eb764a2c9ecf1ed.tar.gz
Rename data to nars for package derivation outputs
As this is clearer.
-rw-r--r--guix-data-service/web/revision/controller.scm2
-rw-r--r--guix-data-service/web/revision/html.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/guix-data-service/web/revision/controller.scm b/guix-data-service/web/revision/controller.scm
index 7d6f047..205f8ab 100644
--- a/guix-data-service/web/revision/controller.scm
+++ b/guix-data-service/web/revision/controller.scm
@@ -1302,7 +1302,7 @@
`((package . ((name . ,package-name)
(version . ,package-version)))
(path . ,path)
- (data
+ (nars
. ,(if (null? hash-algorithm)
(list->vector
(map
diff --git a/guix-data-service/web/revision/html.scm b/guix-data-service/web/revision/html.scm
index d8769e6..2f5efa2 100644
--- a/guix-data-service/web/revision/html.scm
+++ b/guix-data-service/web/revision/html.scm
@@ -1997,7 +1997,7 @@ figure {
(tr
(th (@ (class "col-sm-5")) "Path")
,@(if (member "nars" (assq-ref query-parameters 'field))
- '((th (@ (class "col-sm-5")) "Data")
+ '((th (@ (class "col-sm-5")) "Nars")
(th (@ (class "col-sm-2")) "Output consistency"))
'())))
(tbody