summary refs log tree commit diff
path: root/build-aux/build-self.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-19 07:08:34 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-19 08:41:49 +0100
commit05e783871c2c69b402e088863d46f5be7915ac74 (patch)
tree52c1ac3cfe73b2d7888f7649a7278297644e0dcf /build-aux/build-self.scm
parent78cb0f3cf81ea547510691b5fc008153adfac736 (diff)
downloadguix-05e783871c2c69b402e088863d46f5be7915ac74.tar.gz
build-self: Import (ice-9 threads) in the compute-guix-derivation script.
This is required for CALL-WITH-NEW-THREAD in Guile 3.0.

* build-aux/build-self.scm (build-program): Import (ice-9 threads).
Diffstat (limited to 'build-aux/build-self.scm')
-rw-r--r--build-aux/build-self.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index f2e785b7f1..2782a4da72 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -286,7 +286,8 @@ interface (FFI) of Guile.")
                                                     #:select? select?))
     (gexp->script "compute-guix-derivation"
                   #~(begin
-                      (use-modules (ice-9 match))
+                      (use-modules (ice-9 match)
+                                   (ice-9 threads))
 
                       (eval-when (expand load eval)
                         ;; (gnu packages …) modules are going to be looked up