summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-09-05 19:39:22 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2017-09-05 19:40:48 +0200
commitb100a704955432b6287b62add3bd3e9ccd94f002 (patch)
tree08e741adfc6035c1fb6f8dd3e986a176bf756e7c
parentfa67d5654176b4b815832eaf259188e1486c65ab (diff)
downloadguix-b100a704955432b6287b62add3bd3e9ccd94f002.tar.gz
guix: Fix Guile current-processor-count deprecation warnings.
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/store.scm: Use (ice-9 threads).
-rw-r--r--guix/store.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 2563d26fa0..00d1e26fc4 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -40,6 +40,7 @@
   #:use-module (ice-9 regex)
   #:use-module (ice-9 vlist)
   #:use-module (ice-9 popen)
+  #:use-module (ice-9 threads)
   #:use-module (web uri)
   #:export (%daemon-socket-uri
             %gc-roots-directory