diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-05-29 00:39:19 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-05-29 00:39:19 +0200 |
commit | cb115ba7220d7db12ccb761a1261a778ec583ae2 (patch) | |
tree | f9b37fa35aafa20c32b4b66da607e7ef5d468a29 /gnu | |
parent | df3e5cfa05c45439fee30375cde21f4c3d32e26b (diff) |
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')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 7 |
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"))))))) |