diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-08 11:29:33 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-08 11:29:33 +0100 |
commit | ed52f0bb40f5f2d771740c923540c0d8f6d3f1f3 (patch) | |
tree | 03b2b16291c4eefe7049b409bead301b82884cd9 /scripts | |
parent | dc5edd4b622a1cc0761c1ffa3bc154f833b3c495 (diff) | |
download | build-coordinator-ed52f0bb40f5f2d771740c923540c0d8f6d3f1f3.tar build-coordinator-ed52f0bb40f5f2d771740c923540c0d8f6d3f1f3.tar.gz |
Tweak hardcoded derivation priorities
To separate the build priorities out a bit more.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in | 17 |
1 files changed, 9 insertions, 8 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 c70c892..dc072bf 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 @@ -359,20 +359,21 @@ (lambda (type system target) (cond ((eq? type 'channel-instance) - (if (and (string=? system "x86_64-linux") + (if (and (or (string=? system "x86_64-linux") + (string=? system "aarch64-linux")) (string=? target "none")) 1000 - 500)) + 800)) ((eq? type 'package) (cond - ((and (string=? system "x86_64-linux") + ((and (or (string=? system "x86_64-linux") + (string=? system "aarch64-linux")) (string=? target "none")) - 500) - ((and (string=? system "aarch64-linux") - (string=? target "none")) - 500) + 600) (else - 0))) + (if (string=? target "none") + 400 + 0)))) (else 0))))) |