1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-22 18:20:32 +02:00

gnu: ruby-hydra-minimal: Add missing patch.

This is a followup to bb907402a6.

* gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch: New file.
This commit is contained in:
Ludovic Courtès
2022-08-08 18:33:10 +02:00
parent 3668a452d1
commit 7a485d43c9

View File

@@ -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