mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: ruby-ethon: Fix libcurl detection at runtime.
* gnu/packages/ruby.scm (ruby-ethon)[arguments]<#:phases>: Add phase 'libcurl-use-absolute-reference.
This commit is contained in:
parent
a26ba23cdd
commit
79670e4bc6
1 changed files with 9 additions and 1 deletions
|
@ -3089,7 +3089,15 @@ (define-public ruby-ethon
|
|||
"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
|
||||
|
|
Loading…
Reference in a new issue