guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#62196] [PATCH 102/223] gnu: ruby-pry-byebug: Avoid depending on rub


From: Maxim Cournoyer
Subject: [bug#62196] [PATCH 102/223] gnu: ruby-pry-byebug: Avoid depending on ruby-chandler.
Date: Mon, 20 Mar 2023 13:21:48 -0400

* gnu/packages/ruby.scm (ruby-pry-byebug) [phases]: Add sanitize-dependencies
phase.
[native-inputs]: Remove ruby-chandler, an unmaintained library.
---

 gnu/packages/ruby.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 65d0274d99..b63b4d4d23 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7963,14 +7963,15 @@ (define-public ruby-pry-byebug
     (build-system ruby-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'sanitize-dependencies
+                    (lambda _
+                      (substitute* "Rakefile"
+                        ((".*chandler/tasks.*") ""))))
                   (add-before 'check 'set-home
                     (lambda _
-                      (setenv "HOME" (getcwd))
-                      #t)))))
-    (native-inputs
-     (list ruby-chandler ruby-rubocop ruby-simplecov))
-    (propagated-inputs
-     (list ruby-byebug ruby-pry))
+                      (setenv "HOME" (getcwd)))))))
+    (native-inputs (list ruby-rubocop ruby-simplecov))
+    (propagated-inputs (list ruby-byebug ruby-pry))
     (synopsis "Step-by-step debugging and stack navigation in Pry")
     (description "This package adds step-by-step debugging and stack
 navigation capabilities to @code{pry}, using @code{byebug}.")
-- 
2.39.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]