3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

View file

@ -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