diff options
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/build-allocator.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-build-coordinator/build-allocator.scm b/guix-build-coordinator/build-allocator.scm index cf916cf..588f213 100644 --- a/guix-build-coordinator/build-allocator.scm +++ b/guix-build-coordinator/build-allocator.scm @@ -593,7 +593,8 @@ (if (or (and planned-builds-for-agent-limit (>= count planned-builds-for-agent-limit)) (null? potential-build-ids)) - build-ids ;; highest priority last + (reverse build-ids) ;; highest priority last, so + ;; reverse (let ((potential-build (first potential-build-ids))) (if (filter-proc potential-build) (loop (+ 1 count) |