From bd5454d5d9c77b0e8c9b9e778e237db664e521a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 13 Apr 2013 18:59:35 +0200 Subject: [PATCH] hydra-eval-guile-jobs: Use `--fresh-auto-compile'. * src/script/hydra-eval-guile-jobs.in (main): Run `guile' with `--fresh-auto-compile'. --- src/script/hydra-eval-guile-jobs.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/script/hydra-eval-guile-jobs.in b/src/script/hydra-eval-guile-jobs.in index 2bcaaadc..36ed71b4 100644 --- a/src/script/hydra-eval-guile-jobs.in +++ b/src/script/hydra-eval-guile-jobs.in @@ -5,8 +5,13 @@ main="(module-ref (resolve-interface '(hydra-eval-guile-jobs)) 'eval-guile-jobs) # Keep the host's GUILE_LOAD_PATH unchanged to allow the installed Guix to # be used. This moves Guix modules possibly out of control, but solves # bootstrapping issues. +# +# Use `--fresh-auto-compile' to ignore any available .go, and force +# recompilation. This is because checkouts in the store has mtime set to +# the epoch, and thus .go files look newer, even though they may not +# correspond. -exec ${GUILE:-@GUILE@} --no-auto-compile \ +exec ${GUILE:-@GUILE@} --no-auto-compile --fresh-auto-compile \ -l "$0" -c "(apply $main (cdr (command-line)))" "$@" !# ;;; Copyright © 2012, 2013 Ludovic Courtès