aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-05-29 00:39:19 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-05-29 00:39:19 +0200
commitcb115ba7220d7db12ccb761a1261a778ec583ae2 (patch)
treef9b37fa35aafa20c32b4b66da607e7ef5d468a29 /gnu/packages/bioinformatics.scm
parentdf3e5cfa05c45439fee30375cde21f4c3d32e26b (diff)
downloadguix-cb115ba7220d7db12ccb761a1261a778ec583ae2.tar
guix-cb115ba7220d7db12ccb761a1261a778ec583ae2.tar.gz
gnu: pigx-sars-cov-2: Fix build.
* gnu/packages/bioinformatics.scm (pigx-sars-cov-2)[arguments]: Add 'autoreconf phase to patch build system.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0945bddbe7..1d8397c1aa 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11359,6 +11359,13 @@ based methods.")
`(#: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")))))))