summaryrefslogtreecommitdiff
path: root/build-aux/hydra/gnu-system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-09 00:00:58 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-09 00:00:58 +0200
commitdf154c05dc65025eac2d14ab45699b34c7a1c7c8 (patch)
treef094aa097aa87626c5de60d2956529728586346c /build-aux/hydra/gnu-system.scm
parent71dab08dec718046e432e1fcd672566c0e67c19d (diff)
downloadpatches-df154c05dc65025eac2d14ab45699b34c7a1c7c8.tar
patches-df154c05dc65025eac2d14ab45699b34c7a1c7c8.tar.gz
hydra: Fix uses of 'eval-when'.
* build-aux/hydra/gnu-system.scm: Use (expand load eval) in 'eval-when' clause so as to not poison a cat and to ensure %load-compiled-path is properly set when the 'use-modules' clauses are expanded. * build-aux/hydra/guix.scm: Likewise.
Diffstat (limited to 'build-aux/hydra/gnu-system.scm')
-rw-r--r--build-aux/hydra/gnu-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm
index e5326c4bbd..62eb957f83 100644
--- a/build-aux/hydra/gnu-system.scm
+++ b/build-aux/hydra/gnu-system.scm
@@ -24,7 +24,7 @@
(use-modules (system base compile))
-(eval-when (compile load eval)
+(eval-when (expand load eval)
;; Pre-load the compiler so we don't end up auto-compiling it.
(compile #t)