services: cuirass-remote-worker: Disable JIT on AArch64.

* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service):
Pass #:environment-variables to ‘make-forkexec-constructor’.

Fixes: guix/guix#5052
Change-Id: Ibbf5aae9c6e62983c8e7f2eda310f68aef2edc8b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5053
This commit is contained in:
Ludovic Courtès 2025-12-23 00:18:19 +01:00
parent 1cf00c47c0
commit d2c2e7f4d6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -500,7 +500,16 @@ CONFIG."
(string-append "--private-key="
private-key))
'()))
#:log-file #$log-file))
;; Work around
;; <https://codeberg.org/guile/fibers/issues/83>.
;; TODO: Remove when using Guile > 3.0.9.
#:environment-variables
(if (string-prefix? "aarch64-" %host-type)
'("GUILE_JIT_THRESHOLD=-1")
'())
#:log-file #$log-file))
(stop #~(make-kill-destructor))))))
(define cuirass-remote-worker-service-type