diff options
author | Tom Fitzhenry <[email protected]> | 2022-06-24 21:08:35 +1000 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2022-08-08 17:26:18 +0200 |
commit | 6ba74ab29c641c9b43b64473a69e3210c132eeca (patch) | |
tree | 3febc46a2140623b47e9be242f12efea02139128 /gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch | |
parent | bb907402a613494e7fb6f8f04bf8d9d16ff9ee66 (diff) |
gnu: Remove texlive's dependence on ruby-rspec and ruby-byebug.
Motivation: Break the dependency chain from guix to mariadb.
Prior to this patch:
$ guix graph --path guix mariadb
[email protected]
[email protected]
texlive-tiny@59745
texlive-latex-base@59745
texlive-hyphen-afrikaans@59745
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
As of this patch:
$ ./pre-inst-env guix graph --path guix mariadb
guix graph: error: no path from '[email protected]' to '[email protected]'
* gnu/local.mk (dist_patch_DATA): Add texlive-hyph-utf8-no-byebug.patch.
* gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch: New file.
* gnu/packages/tex.scm (hyph-utf8-scripts): Add patch.
(texlive-hyphen-package): Depend on ruby-hydra-minimal.
Signed-off-by: Ludovic Courtès <[email protected]>
Diffstat (limited to 'gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch')
-rw-r--r-- | gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch b/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch new file mode 100644 index 0000000000..fb29b76ef2 --- /dev/null +++ b/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch @@ -0,0 +1,13 @@ +Description: Avoid dependency on byebug to reduce package closure + significantly, see https://issues.guix.gnu.org/55997 +diff --git a/lib/tex/hyphen/language.rb b/lib/tex/hyphen/language.rb +index 12831417..df6daa39 100644 +--- a/lib/tex/hyphen/language.rb ++++ b/lib/tex/hyphen/language.rb +@@ -1,6 +1,5 @@ + require 'yaml' + require 'hydra' +-require 'byebug' + + require_relative 'path' + |