diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-01 12:45:22 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-08-01 12:46:19 +0200 |
commit | dc3ad40c6b1023785352bd995fd1bee2ba9e2770 (patch) | |
tree | 6cf5dc911fea139b8fce4b8a920fc34a70f94f74 /gnu/packages/bioinformatics.scm | |
parent | 9b1a2dcd5be13c89efff8c448c1a861d81d221ed (diff) |
gnu: python-bbknn: Set NUMBA_CACHE_DIR.
* gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase
'set-numba-cache-dir.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index e9f7ab9e98..4a8a743eba 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -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. |