me
/
guix
Archived
1
0
Fork 0

gnu: python-velocyto: Set cache directory for Numba.

* gnu/packages/bioinformatics.scm (python-velocyto)[arguments]: Add phase
'set-numba-cache-dir.
master
Ricardo Wurmus 2022-03-31 16:01:27 +02:00
parent 8f3dc994bb
commit 05e68f31ba
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

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