build: Set `%fresh-auto-compile' in `hydra.scm'.

* hydra.scm: Set `%fresh-auto-compile' to #t.
This commit is contained in:
Ludovic Courtès 2013-03-28 00:14:38 +01:00
parent c415f14538
commit bb90ad83b1
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@
;; Attempt to use our very own Guix modules. ;; Attempt to use our very own Guix modules.
(eval-when (compile load eval) (eval-when (compile load eval)
;; Ignore any available .go, and force recompilation. This is because our
;; checkout in the store has mtime set to the epoch, and thus .go files look
;; newer, even though they may not correspond.
(set! %fresh-auto-compile #t)
(and=> (assoc-ref (current-source-location) 'filename) (and=> (assoc-ref (current-source-location) 'filename)
(lambda (file) (lambda (file)
(let ((dir (dirname file))) (let ((dir (dirname file)))