diff options
Diffstat (limited to 'guix-data-service/model')
-rw-r--r-- | guix-data-service/model/build.scm | 5 |
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 |