aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-06-23 22:02:25 +0100
committerChristopher Baines <mail@cbaines.net>2020-06-23 22:02:25 +0100
commit8e0bb453df7e15fccb6316be703d4196cd18f34d (patch)
treee0f48ddd769c75d2b01b9c117a4f6b6e36a221c6
parent9f0f1210b0aba5657dc32b0cd6e3a4ee9440e54b (diff)
downloadbuild-coordinator-8e0bb453df7e15fccb6316be703d4196cd18f34d.tar
build-coordinator-8e0bb453df7e15fccb6316be703d4196cd18f34d.tar.gz
Make the build show-blocking output more stable
-rw-r--r--guix-build-coordinator/datastore/sqlite.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm
index f90fc1d..a7ff175 100644
--- a/guix-build-coordinator/datastore/sqlite.scm
+++ b/guix-build-coordinator/datastore/sqlite.scm
@@ -351,7 +351,7 @@ WHERE builds.processed = 1
ON other_builds.uuid = other_build_results.build_id
WHERE derivation_outputs.derivation_name = builds.derivation_name
AND other_build_results.result = 'success'
-) ORDER BY 3 DESC")))
+) ORDER BY 3 DESC, 2, 1")))
(let ((result (sqlite-map
(match-lambda