[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: pigx-chipseq: Fix Python module capture.
From: |
guix-commits |
Subject: |
02/05: gnu: pigx-chipseq: 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 f127bce3ecf4964d0733537b32266f93d816b6b5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 27 22:13:00 2022 +0100
gnu: pigx-chipseq: Fix Python module capture.
The build system expects all Python modules to be on PYTHONPATH.
* gnu/packages/bioinformatics.scm (pigx-chipseq)[arguments]: Set PYTHONPATH
variable in new build phase.
---
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 e501c84265..9e7191dad8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10972,7 +10972,10 @@ expression report comparing samples in an easily
configurable manner.")
(modify-phases %standard-phases
(add-before 'bootstrap 'autoreconf
(lambda _
- (invoke "autoreconf" "-vif"))))))
+ (invoke "autoreconf" "-vif")))
+ (add-before 'configure 'set-PYTHONPATH
+ (lambda _
+ (setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH")))))))
(inputs
(list grep
coreutils