diff options
-rw-r--r-- | scripts/nar-herder.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in index 1dfbc6c..e55fb9b 100644 --- a/scripts/nar-herder.in +++ b/scripts/nar-herder.in @@ -22,6 +22,11 @@ ;;; along with the guix-data-service. If not, see ;;; <http://www.gnu.org/licenses/>. +(when (and (string-prefix? "aarch64-" %host-type) + (not (getenv "GUILE_JIT_THRESHOLD"))) + (setenv "GUILE_JIT_THRESHOLD" "-1") + (apply execlp (car (command-line)) (command-line))) + (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) |