diff options
author | zimoun <zimon.toutoune@gmail.com> | 2020-12-04 03:06:21 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-12-09 12:12:36 +0100 |
commit | b58c4e7613bc3e3602042dbf340f5116f4cae4bb (patch) | |
tree | c5045cd0aaba3cabc567578ab36ba6a4121ed7dc /gnu/packages | |
parent | c5ae5c1c40bfa0299e728f31934ab4a45f9b8197 (diff) |
gnu: r-cytolib: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-cytolib): [arguments]: Avoid to have a
plain directory on the list of libraries to link.
Co-authored-by: Ricardo Wurmus <reka@elephly.net>.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bioconductor.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 840f937c2b..ab2595b229 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -6009,6 +6009,17 @@ cluster count and membership by stability evidence in unsupervised analysis.") "1wylzps7wbvm64k62w5bbi8l74gaqca96psfapxfg6mcac5yz4qw")))) (properties `((upstream-name . "cytolib"))) (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. + (("\\(RHDF5_LIBS\\)" match) + (string-append match "/libhdf5.a"))) + #t))))) (inputs `(("zlib" ,zlib))) (native-inputs |