aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-09 23:04:15 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-09 23:04:15 +0000
commit471d134d421ec20e9612761a3c1ef6fde49531d4 (patch)
tree2d9d04e9280e8f54b117fd57a176f201d0f1c1b4 /scripts
parentb8870e13f1672e3583347351cc442c03d98d8162 (diff)
downloadbuild-coordinator-471d134d421ec20e9612761a3c1ef6fde49531d4.tar
build-coordinator-471d134d421ec20e9612761a3c1ef6fde49531d4.tar.gz
Reduce the priority of cross built derivations
So that native x86_64-linux derivations are built as a priority.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in
index d379c4b..b107ab8 100644
--- a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in
+++ b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in
@@ -174,7 +174,8 @@
(define (priority-for-derivation type system target)
(cond
((eq? type 'channel-instance)
- (if (string=? system "x86_64-linux")
+ (if (and (string=? system "x86_64-linux")
+ (string=? target "none"))
1000
500))
((eq? type 'package)