diff options
author | zimoun <zimon.toutoune@gmail.com> | 2020-12-04 04:55:45 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-12-09 12:12:36 +0100 |
commit | ece564f07dc7398ff9739555708c9bda31262ceb (patch) | |
tree | 7cb63f6d583ea4804160379225eabaeca1cbb7b0 /gnu/packages | |
parent | 26cf5eb5686b9a0464fc886f7219c6b9e8f2a889 (diff) | |
download | guix-ece564f07dc7398ff9739555708c9bda31262ceb.tar.gz |
gnu: r-flowworkspace: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-flowworkspace): [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.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 0989d1bff4..ce831af6d4 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -6281,6 +6281,17 @@ for other R packages to compile and link against.") "19svh32jq1dpq3ayhpd5r8bw0iax8d9kdvpvc23gx2pf16g1j5ag")))) (properties `((upstream-name . "flowWorkspace"))) (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-linking + (lambda _ + (substitute* "src/Makevars" + ;; This is to avoid having a plain directory on the list of + ;; libraries to link. + (("\\{h5lib\\}" match) + (string-append match "/libhdf5.a"))) + #t))))) (inputs `(("zlib" ,zlib))) (propagated-inputs |