guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: pigx-rnaseq: Fix Python module capture.


From: guix-commits
Subject: 01/05: gnu: pigx-rnaseq: Fix Python module capture.
Date: Thu, 27 Jan 2022 16:17:28 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c6bf89cff07802f5ebc7f1b1deb2e390641ec1b6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 27 22:06:26 2022 +0100

    gnu: pigx-rnaseq: Fix Python module capture.
    
    The build system expects all Python modules to be on PYTHONPATH.
    
    * gnu/packages/bioinformatics.scm (pigx-rnaseq)[arguments]: Set PYTHONPATH
    variable in new build phase.
---
 gnu/packages/bioinformatics.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c872c9c45a..e501c84265 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10895,6 +10895,9 @@ once.  This package provides tools to perform Drop-seq 
analyses.")
          (add-before 'bootstrap 'autoreconf
            (lambda _
              (invoke "autoreconf" "-vif")))
+         (add-before 'configure 'set-PYTHONPATH
+           (lambda _
+             (setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH"))))
          (add-before 'check 'set-timezone
            ;; The readr package is picky about timezones.
            (lambda* (#:key inputs #:allow-other-keys)



reply via email to

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