diff --git a/hydra.scm b/hydra.scm index 65042cbe8815e0dad79a6b22b105c4de027120c5..8cbfecf34ca7490741178f3f0cd6d94849417a2f 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)))