guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: pigx-scrnaseq: Set NUMBA_CACHE_DIR.


From: guix-commits
Subject: 03/03: gnu: pigx-scrnaseq: Set NUMBA_CACHE_DIR.
Date: Tue, 5 Apr 2022 12:41:24 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit df2dc0c41644477c8cc3ccc958b822f8440114ef
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 5 18:35:14 2022 +0200

    gnu: pigx-scrnaseq: Set NUMBA_CACHE_DIR.
    
    This is needed since the update of python-loompy.
    
    * gnu/packages/bioinformatics.scm (pigx-scrnaseq)[arguments]: Rename
    'set-PYTHONPATH to 'set-additional-environment-variables and set
    NUMBA_CACHE_DIR.
---
 gnu/packages/bioinformatics.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5ca1104436..e9778831d2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11145,8 +11145,11 @@ methylation and segmentation.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (add-before 'configure 'set-PYTHONPATH
+         (add-before 'configure 'set-additional-environment-variables
            (lambda _
+             ;; Needed because of loompy
+             (setenv "NUMBA_CACHE_DIR" "/tmp")
+             ;; Needed to capture environment
              (setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH")))))))
     (inputs
      (list coreutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]