gnu: pigx-sars-cov-2: Fix build.

* gnu/packages/bioinformatics.scm (pigx-sars-cov-2)[arguments]: Add
'autoreconf phase to patch build system.
This commit is contained in:
Ricardo Wurmus 2022-05-29 00:39:19 +02:00
parent df3e5cfa05
commit cb115ba722
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -11359,6 +11359,13 @@ (define-public pigx-sars-cov-2
`(#:tests? #f ;requires huge kraken database
#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'autoreconf
(lambda _
;; https://github.com/BIMSBbioinfo/pigx_sars-cov-2/issues/123
(substitute* "m4/ax_r_package.m4"
(("if\\(is.na\\(packageDescription\\(\"PKG\"\\)\\)\\)")
"if(system.file(package=\"PKG\") == \"\")"))
(invoke "autoreconf" "-vif")))
(add-before 'configure 'set-PYTHONPATH
(lambda _
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH")))))))