aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-23 22:36:53 +0000
committerChristopher Baines <mail@cbaines.net>2019-12-23 22:36:53 +0000
commite359cfea2bdc763852e7e37119f8986cf46f8eb9 (patch)
tree4eaf1709da3b9a92a65251afd49f6c8b1208857b /guix-data-service/model
parent5c643e09e504094cfd8a43ba36e3537f0df97ae2 (diff)
downloaddata-service-e359cfea2bdc763852e7e37119f8986cf46f8eb9.tar
data-service-e359cfea2bdc763852e7e37119f8986cf46f8eb9.tar.gz
Fix the derivations list on the builds page
Diffstat (limited to 'guix-data-service/model')
-rw-r--r--guix-data-service/model/build.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-data-service/model/build.scm b/guix-data-service/model/build.scm
index 3f7d0e9..9cebfaa 100644
--- a/guix-data-service/model/build.scm
+++ b/guix-data-service/model/build.scm
@@ -140,8 +140,11 @@ INNER JOIN derivations ON derivations.file_name = builds.derivation_file_name
"
(if revision-commit
"
+INNER JOIN derivations_by_output_details_set
+ ON builds.derivation_output_details_set_id =
+ derivations_by_output_details_set.derivation_output_details_set_id
INNER JOIN package_derivations
- ON derivations.id = package_derivations.derivation_id
+ ON derivations_by_output_details_set.derivation_id = package_derivations.derivation_id
INNER JOIN guix_revision_package_derivations
ON guix_revision_package_derivations.package_derivation_id = package_derivations.id
INNER JOIN guix_revisions