1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

hydra-eval-guile-jobs: Use `--fresh-auto-compile'.

* src/script/hydra-eval-guile-jobs.in (main): Run `guile' with
  `--fresh-auto-compile'.
This commit is contained in:
Ludovic Courtès 2013-04-13 18:59:35 +02:00
parent 7807ff27b7
commit bd5454d5d9

View file

@ -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 # 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 # be used. This moves Guix modules possibly out of control, but solves
# bootstrapping issues. # 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)))" "$@" -l "$0" -c "(apply $main (cdr (command-line)))" "$@"
!# !#
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>