gnu: pigx-rnaseq: Fix Python module capture.
authorRicardo Wurmus <rekado@elephly.net>
Thu, 27 Jan 2022 21:06:26 +0000 (22:06 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Thu, 27 Jan 2022 21:15:25 +0000 (22:15 +0100)
The build system expects all Python modules to be on PYTHONPATH.

* gnu/packages/bioinformatics.scm (pigx-rnaseq)[arguments]: Set PYTHONPATH
variable in new build phase.

gnu/packages/bioinformatics.scm

index c872c9c..e501c84 100644 (file)
@@ -10895,6 +10895,9 @@ once.  This package provides tools to perform Drop-seq analyses.")
          (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)