[PATCH] gnu: ruby-eventmachine: Add openssl input.

DoneSubmitted by Stephen Paul Weber.
Details
2 participants
  • Ludovic Courtès
  • Stephen Paul Weber
Owner
unassigned
Severity
normal
S
S
Stephen Paul Weber wrote on 6 Oct 2021 19:55
(address . guix-patches@gnu.org)(name . Stephen Paul Weber)(address . singpolyma@singpolyma.net)
20211006175556.17329-1-singpolyma@singpolyma.net
While EventMachine will build without openssl present, attempting to use it to
make any TLS-secured connections will crash at runtime, which is not very
useful. This allows the build system to find and link OpenSSL and thus TLS will
work at runtime.

* gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.
---
gnu/packages/ruby.scm | 2 ++
1 file changed, 2 insertions(+)

Toggle diff (15 lines)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8db5bd9158..58c6df5260 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8730,6 +8730,8 @@ application.")
     (build-system ruby-build-system)
     (arguments
      '(#:tests? #f))               ; test suite tries to connect to google.com
+    (inputs
+     `(("openssl" ,openssl)))
     (native-inputs
      `(("ruby-rake-compiler" ,ruby-rake-compiler)))
     (synopsis "Single-threaded network event framework for Ruby")
-- 
2.20.1
L
L
Ludovic Courtès wrote on 26 Oct 2021 12:45
(name . Stephen Paul Weber)(address . singpolyma@singpolyma.net)(address . 51063-done@debbugs.gnu.org)
87o87chxnv.fsf@gnu.org
Hi,

Stephen Paul Weber <singpolyma@singpolyma.net> skribis:

Toggle quote (7 lines)
> While EventMachine will build without openssl present, attempting to use it to
> make any TLS-secured connections will crash at runtime, which is not very
> useful. This allows the build system to find and link OpenSSL and thus TLS will
> work at runtime.
>
> * gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.

Applied, thanks!

Ludo'.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 51063@debbugs.gnu.org