summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-29 11:37:31 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:26:02 +0100
commit9bdb1c4baaf6b136d0f4dc04e0e173db563a7f5a (patch)
tree9c99570b118efdbbdec50d737b98c8757b50b178
parent9271bb9bfdb6a8d894195f61fc031271fc5f51cd (diff)
downloadguix-9bdb1c4baaf6b136d0f4dc04e0e173db563a7f5a.tar.gz
gnu: ruby-language-server-protocol: Remove ruby-pry-byebug dependency.
* gnu/packages/ruby.scm (ruby-language-server-protocol)[arguments]: Add
'remove-unnecessary-dependencies phase.
[native-inputs]: Remove ruby-pry-byebug.
-rw-r--r--gnu/packages/ruby.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 027598d793..a04fc52674 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14272,6 +14272,10 @@ for scalable network clients and servers.")
      (list
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-unnecessary-dependencies
+            (lambda _
+              (substitute* "Gemfile"
+                (("gem \"pry-byebug\"") ""))))
           (replace 'replace-git-ls-files
             (lambda _
               (substitute* "language_server-protocol.gemspec"
@@ -14284,8 +14288,7 @@ for scalable network clients and servers.")
            ruby-benchmark-ips
            ruby-m
            ruby-minitest
-           ruby-minitest-power-assert
-           ruby-pry-byebug))
+           ruby-minitest-power-assert))
     (synopsis "Language Server Protocol (LSP) development kit for Ruby")
     (description "This package provides a Language Server Protocol (LSP)
 development kit for Ruby.")