summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-12-04 05:07:38 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 12:12:36 +0100
commit2b224f904a18bd84080119ee57d4f2750a0da732 (patch)
tree0ad8c1bbeaaab0cdd9aa11e03c9295874f563b63 /gnu/packages
parentece564f07dc7398ff9739555708c9bda31262ceb (diff)
gnu: r-cytoml: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-cytoml): [arguments]: Avoid to have a plain directory on the list of libraries to link.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioconductor.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index ce831af6d4..299204540d 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -6426,6 +6426,17 @@ sequential way to mimic the manual gating strategy.")
"1d8x49aqc95x1vx456hya5r7mal80pj9l6wmr5x5pb5r8qyzz6yq"))))
(properties `((upstream-name . "CytoML")))
(build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-linking
+ (lambda _
+ (substitute* "src/Makevars.in"
+ ;; This is to avoid having a plain directory on the list of
+ ;; libraries to link.
+ (("\\{h5lib\\}" match)
+ (string-append match "/libhdf5.a")))
+ #t)))))
(inputs
`(("libxml2" ,libxml2)))
(propagated-inputs