diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-13 23:09:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-13 23:11:54 +0100 |
commit | e2e6e9ebf00d1e37a614a5915019a836def07d99 (patch) | |
tree | f2925f3e2ccc879204ec0f9a9b89961c460cc33e /build-aux/hydra | |
parent | 34797d8afc3c5f1211a4baf1161de640fc630a2e (diff) | |
download | gnu-guix-e2e6e9ebf00d1e37a614a5915019a836def07d99.tar gnu-guix-e2e6e9ebf00d1e37a614a5915019a836def07d99.tar.gz |
hydra: Pre-load the compiler.
Starting from Guile 2.2.3, '%fresh-auto-compile' does what it says and
would auto-compile everything, including the compiler (see
<https://bugs.gnu.org/29226>).
* build-aux/hydra/gnu-system.scm: Call 'compile'.
Diffstat (limited to 'build-aux/hydra')
-rw-r--r-- | build-aux/hydra/gnu-system.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm index 5aaac5220f..04845a3e1f 100644 --- a/build-aux/hydra/gnu-system.scm +++ b/build-aux/hydra/gnu-system.scm @@ -22,12 +22,14 @@ ;;; tool. ;;; -;; Attempt to use our very own Guix modules. +(use-modules (system base compile)) + (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. + ;; Pre-load the compiler so we don't end up auto-compiling it. + (compile #t) + + ;; Use our very own Guix modules. (set! %fresh-auto-compile #t) (and=> (assoc-ref (current-source-location) 'filename) |