summary refs log tree commit diff
path: root/gnu/packages/bioconductor.scm
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-12-04 03:20:55 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 12:12:36 +0100
commit26cf5eb5686b9a0464fc886f7219c6b9e8f2a889 (patch)
tree9db6db16890a60caaa602ce3f6a599154b73f33b /gnu/packages/bioconductor.scm
parentb58c4e7613bc3e3602042dbf340f5116f4cae4bb (diff)
downloadguix-26cf5eb5686b9a0464fc886f7219c6b9e8f2a889.tar.gz
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>.
Diffstat (limited to 'gnu/packages/bioconductor.scm')
-rw-r--r--gnu/packages/bioconductor.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index ab2595b229..0989d1bff4 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -8609,6 +8609,17 @@ provided.")
          "1hr149q03p09y1cjnx8av854j53041wfyq66xpsjw4mypzjf6f28"))))
     (properties `((upstream-name . "HDF5Array")))
     (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
      `(("zlib" ,zlib)))
     (propagated-inputs