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.
This commit is contained in:
zimoun 2020-12-04 04:55:45 +01:00 committed by Ricardo Wurmus
parent 26cf5eb568
commit ece564f07d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6281,6 +6281,17 @@ (define-public r-flowworkspace
"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