summary refs log tree commit diff
path: root/gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch')
-rw-r--r--gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch b/gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch
new file mode 100644
index 0000000000..7b338ca03e
--- /dev/null
+++ b/gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch
@@ -0,0 +1,11 @@
+Description: Avoid dependency on byebug to reduce package closure
+  significantly, see https://issues.guix.gnu.org/55997
+diff --git a/lib/hydra.rb b/lib/hydra.rb
+index 29fbad2..6b5058a 100644
+--- a/lib/hydra.rb
++++ b/lib/hydra.rb
+@@ -1,4 +1,3 @@
+-require 'byebug' unless ENV['RACK_ENV'] == "production"
+ require 'pp'
+ 
+ module CoreExt