From f127bce3ecf4964d0733537b32266f93d816b6b5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 27 Jan 2022 22:13:00 +0100 Subject: [PATCH] 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