From 471d134d421ec20e9612761a3c1ef6fde49531d4 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 9 Dec 2020 23:04:15 +0000 Subject: Reduce the priority of cross built derivations So that native x86_64-linux derivations are built as a priority. --- scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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) -- cgit v1.2.3