guix: Fix Guile current-processor-count deprecation warnings.
authorMathieu Othacehe <m.othacehe@gmail.com>
Tue, 5 Sep 2017 17:41:31 +0000 (19:41 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Tue, 5 Sep 2017 17:41:31 +0000 (19:41 +0200)
When current-processor-count is used without (ice-9 threads) being used, Guile
complains with the following warning:

Import (ice-9 threads) to have access to `current-processor-count'.

* guix/build/utils.scm: Use (ice-9 threads).

guix/build/utils.scm

index 7391307..d7ed3d5 100644 (file)
@@ -29,6 +29,7 @@
   #:use-module (ice-9 regex)
   #:use-module (ice-9 rdelim)
   #:use-module (ice-9 format)
+  #:use-module (ice-9 threads)
   #:use-module (rnrs bytevectors)
   #:use-module (rnrs io ports)
   #:re-export (alist-cons