me
/
guix
Archived
1
0
Fork 0

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'.
master
Ludovic Courtès 2017-12-13 23:09:27 +01:00
parent 34797d8afc
commit e2e6e9ebf0
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 4 deletions

View File

@ -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)