mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
gnu: r-biocstyle: Do not build self-contained reports on 32-bit platforms.
* gnu/packages/bioconductor.scm (r-biocstyle)[arguments]: Conditionally add phase 'prevent-pandoc-segfault. Change-Id: I84ea57c44ceedb21e03050b4c48c9c05beedc7d7
This commit is contained in:
@@ -24547,6 +24547,21 @@ different graph related packages produced by Bioconductor.")
|
||||
(properties
|
||||
`((upstream-name . "BiocStyle")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(if (target-32bit?)
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
;; XXX: On i686 pandoc segfaults when building self contained
|
||||
;; reports.
|
||||
(add-after 'unpack 'prevent-pandoc-segfault
|
||||
(lambda _
|
||||
(substitute* "inst/rmarkdown/templates/html_document/skeleton/skeleton.Rmd"
|
||||
((" BiocStyle::html_document")
|
||||
"\
|
||||
BiocStyle::html_document:
|
||||
self_contained: FALSE"))))))
|
||||
'()))
|
||||
(propagated-inputs
|
||||
(list r-biocmanager r-bookdown r-knitr r-rmarkdown r-yaml))
|
||||
(native-inputs
|
||||
|
||||
Reference in New Issue
Block a user