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).
This commit is contained in:
Marius Bakke 2020-03-19 07:08:34 +01:00
parent 78cb0f3cf8
commit 05e783871c
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

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