mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
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:
parent
df3e5cfa05
commit
cb115ba722
1 changed files with 7 additions and 0 deletions
|
@ -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")))))))
|
||||
|
|
Loading…
Reference in a new issue