From f4cbf11c655475f0f0c21b0a69ca5bbb2e460133 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 27 Jan 2022 22:13:19 +0100 Subject: 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) -- cgit v1.2.3