mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: r-hdf5array: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-hdf5array): [arguments]: Avoid to have a plain directory on the list of libraries to link. Co-authored-by: Ricardo Wurmus <reka@elephly.net>.
This commit is contained in:
parent
b58c4e7613
commit
26cf5eb568
1 changed files with 11 additions and 0 deletions
|
@ -8609,6 +8609,17 @@ provided.")
|
||||||
"1hr149q03p09y1cjnx8av854j53041wfyq66xpsjw4mypzjf6f28"))))
|
"1hr149q03p09y1cjnx8av854j53041wfyq66xpsjw4mypzjf6f28"))))
|
||||||
(properties `((upstream-name . "HDF5Array")))
|
(properties `((upstream-name . "HDF5Array")))
|
||||||
(build-system r-build-system)
|
(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.
|
||||||
|
(("\\(RHDF5LIB_LIBS\\)" match)
|
||||||
|
(string-append match "/libhdf5.a")))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue