summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-01-27 22:13:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-01-27 22:15:25 +0100
commitf00ed436535e9e5840ca85ec4cf5df6547528db7 (patch)
treefff486d6fdd353407b231da05151f17c91a14fa4 /gnu
parentaa649ae2311df88fb7118334d2d5b2222b8d7642 (diff)
downloadguix-f00ed436535e9e5840ca85ec4cf5df6547528db7.tar.gz
gnu: pigx-sars-cov2-ww: Fix Python module capture.
The build system expects all Python modules to be on PYTHONPATH.

* gnu/packages/bioinformatics.scm (pigx-sars-cov2-ww)[arguments]: Set
PYTHONPATH variable in new build phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 93be974f1f..dbacb4f1f5 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11209,7 +11209,10 @@ based methods.")
        (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")))))))
     (native-inputs
      (list automake autoconf))
     (inputs