me
/
guix
Archived
1
0
Fork 0

gnu: python-bbknn: Set NUMBA_CACHE_DIR.

* gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase
'set-numba-cache-dir.
Ricardo Wurmus 2022-08-01 12:45:22 +02:00
parent 9b1a2dcd5b
commit dc3ad40c6b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 0 deletions

View File

@ -11857,6 +11857,10 @@ million cells.")
`(#:tests? #f ; no tests are included
#: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")))
(add-after 'unpack 'do-not-fail-to-find-sklearn
(lambda _
;; XXX: I have no idea why it cannot seem to find sklearn.