From 2eea8aa751dec0e7ed6055f7107e54d879083ad4 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 8 Jan 2023 22:32:35 -0500 Subject: 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(-) (limited to 'gnu') 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}.") -- cgit v1.2.3