Fix build links on the derivation page

In the case where the build is for a different derivation with the same
outputs.
This commit is contained in:
Christopher Baines 2020-11-20 21:01:09 +00:00
parent 00c84640c5
commit 3e15900c56
2 changed files with 4 additions and 2 deletions

View file

@ -200,6 +200,7 @@ SELECT DISTINCT ON (builds.id)
build_servers.id,
build_servers.url,
builds.build_server_build_id,
builds.derivation_file_name,
build_status.timestamp,
build_status.status
FROM builds