aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2016-09-27 22:34:06 +0200
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2016-09-29 23:59:06 +0200
commit5a88b2d1304ad57c1249558a261a8d191daf9758 (patch)
tree6a8705bc89d2310683e459050979366abb908392 /guix
parentcfb7e269e9d91598d884b3d531710d7f22c11a44 (diff)
downloadgnu-guix-5a88b2d1304ad57c1249558a261a8d191daf9758.tar
gnu-guix-5a88b2d1304ad57c1249558a261a8d191daf9758.tar.gz
build: Improve Guile 2.2 compatibility.
* build-aux/compile-all.scm (compile-file*): Ensure loading of compilation related modules before going parallel. * guix/build/pull.scm (build-guix): Ditto.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/pull.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build/pull.scm b/guix/build/pull.scm
index ccf1868516..871bf6f535 100644
--- a/guix/build/pull.scm
+++ b/guix/build/pull.scm
@@ -125,6 +125,9 @@ containing the source code. Write any debugging output to DEBUG-PORT."
(newline)
(let ((mutex (make-mutex))
(completed 0))
+ ;; Make sure compilation related modules are loaded before starting to
+ ;; compile files in parallel.
+ (compile #f)
(par-for-each
(lambda (file)
(with-mutex mutex