guix-commits
[Top][All Lists]
Advanced

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

102/229: gnu: ruby-pry-byebug: Avoid depending on ruby-chandler.


From: guix-commits
Subject: 102/229: gnu: ruby-pry-byebug: Avoid depending on ruby-chandler.
Date: Tue, 28 Mar 2023 22:29:08 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 2eea8aa751dec0e7ed6055f7107e54d879083ad4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 8 22:32:35 2023 -0500

    gnu: ruby-pry-byebug: Avoid depending on ruby-chandler.
    
    * 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 3286ca1731..83cae539c8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7963,14 +7963,15 @@ notes.")
     (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}.")



reply via email to

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