aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-10-29 10:00:03 +0100
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-11-03 19:23:55 +0800
commit79670e4bc6afb02d9a16d31e10ca4a31cbefff4f (patch)
tree15a14a115c2b31a06a7c88571e2e4c3b3b598027 /gnu/packages
parenta26ba23cdd476cb5eb8378c4785ccf1bc4145f17 (diff)
downloadguix-79670e4bc6afb02d9a16d31e10ca4a31cbefff4f.tar
guix-79670e4bc6afb02d9a16d31e10ca4a31cbefff4f.tar.gz
gnu: ruby-ethon: Fix libcurl detection at runtime.
* gnu/packages/ruby.scm (ruby-ethon)[arguments]<#:phases>: Add phase 'libcurl-use-absolute-reference.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5af1bb1cef..12c439b3a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3089,7 +3089,15 @@ support.")
"0gggrgkcq839mamx7a8jbnp2h7x2ykfn34ixwskwb0lzx2ak17g9"))))
(build-system ruby-build-system)
(arguments
- `(#:tests? #f)) ; no included tests
+ (list
+ #:tests? #f ; no included tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'libcurl-use-absolute-reference
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib/ethon/curls/settings.rb"
+ (("libcurl', 'libcurl\\.so\\.4")
+ (search-input-file inputs "/lib/libcurl.so"))))))))
(inputs
(list curl))
(propagated-inputs