diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-08 22:32:35 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:26 -0400 |
commit | 2eea8aa751dec0e7ed6055f7107e54d879083ad4 (patch) | |
tree | d8b9a53d33c2bf6f2adf4df26f565b5706f8cb06 | |
parent | a63d75b1048e4ba63f8f7bc29c08087aa581d00c (diff) | |
download | guix-2eea8aa751dec0e7ed6055f7107e54d879083ad4.tar.gz guix-2eea8aa751dec0e7ed6055f7107e54d879083ad4.zip |
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.
-rw-r--r-- | gnu/packages/ruby.scm | 13 |
1 files 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}.") |