From 7a485d43c92ea01f7fb64d96d73361a925596abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 8 Aug 2022 18:33:10 +0200 Subject: [PATCH] gnu: ruby-hydra-minimal: Add missing patch. This is a followup to bb907402a613494e7fb6f8f04bf8d9d16ff9ee66. * gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch: New file. --- .../patches/ruby-hydra-minimal-no-byebug.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gnu/packages/patches/ruby-hydra-minimal-no-byebug.patch 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