From dc3ad40c6b1023785352bd995fd1bee2ba9e2770 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 1 Aug 2022 12:45:22 +0200 Subject: gnu: python-bbknn: Set NUMBA_CACHE_DIR. * gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase 'set-numba-cache-dir. --- gnu/packages/bioinformatics.scm | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3