guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: pigx-bsseq: Fix Python module capture.


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

rekado pushed a commit to branch master
in repository guix.

commit f4cbf11c655475f0f0c21b0a69ca5bbb2e460133
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 27 22:13:19 2022 +0100

    gnu: pigx-bsseq: Fix Python module capture.
    
    The build system expects all Python modules to be on PYTHONPATH.
    
    * gnu/packages/bioinformatics.scm (pigx-bsseq)[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 9e7191dad8..39f4a20051 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11061,6 +11061,9 @@ in an easily configurable manner.")
          (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]