aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-01-03 10:54:45 +0000
committerChristopher Baines <mail@cbaines.net>2021-01-03 10:54:45 +0000
commit48cdf102fe9b0b12c4e926d9c0b209d9119c5bb7 (patch)
tree1277b3982845cc0a75fddb74867ae346463dca90 /guix-data-service/model
parente4762394794e7a67b4480c7d1918a057df8a3f38 (diff)
downloaddata-service-48cdf102fe9b0b12c4e926d9c0b209d9119c5bb7.tar
data-service-48cdf102fe9b0b12c4e926d9c0b209d9119c5bb7.tar.gz
Fix various issues linking to builds
Diffstat (limited to 'guix-data-service/model')
-rw-r--r--guix-data-service/model/package.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix-data-service/model/package.scm b/guix-data-service/model/package.scm
index 113bd72..7d58a8e 100644
--- a/guix-data-service/model/package.scm
+++ b/guix-data-service/model/package.scm
@@ -346,6 +346,7 @@ SELECT package_version,
JSON_AGG(
json_build_object(
'build_server_id', builds.build_server_id,
+ 'build_server_build_id', builds.build_server_build_id,
'status', latest_build_status.status,
'timestamp', latest_build_status.timestamp,
'build_for_equivalent_derivation',
@@ -429,6 +430,7 @@ SELECT package_version,
JSON_AGG(
json_build_object(
'build_server_id', builds.build_server_id,
+ 'build_server_build_id', builds.build_server_build_id,
'derivation_file_name', builds.derivation_file_name,
'status', latest_build_status.status,
'timestamp', latest_build_status.timestamp