aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-03-31 16:01:27 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-03-31 16:02:21 +0200
commit05e68f31ba88586ba6b958b1a76f613f64c0c9cc (patch)
treee396fb366090cfd92df9c5b03275708428f6344e /gnu/packages/bioinformatics.scm
parent8f3dc994bbcb3028318e3d597f829a12396110c2 (diff)
downloadguix-05e68f31ba88586ba6b958b1a76f613f64c0c9cc.tar
guix-05e68f31ba88586ba6b958b1a76f613f64c0c9cc.tar.gz
gnu: python-velocyto: Set cache directory for Numba.
* gnu/packages/bioinformatics.scm (python-velocyto)[arguments]: Add phase 'set-numba-cache-dir.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fd659b59f8..fd7d70c6b4 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13519,6 +13519,13 @@ repeated areas between contigs.")
(snippet
'(for-each delete-file (find-files "." "\\.c")))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ ;; Numba needs a writable dir to cache functions.
+ (add-before 'check 'set-numba-cache-dir
+ (lambda _
+ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
(native-inputs
(list python-joblib))
(propagated-inputs