aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-03-28 00:14:38 +0100
committerLudovic Courtès <ludo@gnu.org>2013-03-28 00:14:38 +0100
commitbb90ad83b1030c283100bd618ec46423f2fd071e (patch)
treedc2b86c150905b3c3ebe96938ccfda5ed06e481b
parentc415f1453875f5ba0d18b5d5fd8109c81172286a (diff)
downloadguix-bb90ad83b1030c283100bd618ec46423f2fd071e.tar
guix-bb90ad83b1030c283100bd618ec46423f2fd071e.tar.gz
build: Set `%fresh-auto-compile' in `hydra.scm'.
* hydra.scm: Set `%fresh-auto-compile' to #t.
-rw-r--r--hydra.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/hydra.scm b/hydra.scm
index 65042cbe88..8cbfecf34c 100644
--- a/hydra.scm
+++ b/hydra.scm
@@ -23,6 +23,12 @@
;; Attempt to use our very own Guix modules.
(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)
(lambda (file)
(let ((dir (dirname file)))