aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-17 00:45:51 +0100
committerChristopher Baines <mail@cbaines.net>2023-06-20 22:04:49 +0100
commit9daca9b8706893b4409c02180e11cefd59cca186 (patch)
treecd5f3a821f7146dd6fd72ef514c0e7095149f38a
parentc3d857d526c6e0f5e37c76fd29ac32d2cf559e40 (diff)
downloadguix-9daca9b8706893b4409c02180e11cefd59cca186.tar.gz
guix-9daca9b8706893b4409c02180e11cefd59cca186.zip
gnu: texlive-hyphen-package: Use pinned ruby-hydra-minimal.
To allow updating ruby without changing texlive. * gnu/packages/ruby.scm (ruby-hydra-minimal/pinned): New variable. * gnu/packages/tex.scm (texlive-hyphen-package)[native-inputs]: Use it
-rw-r--r--gnu/packages/ruby.scm9
-rw-r--r--gnu/packages/tex.scm2
2 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0fa68be980..591bd8034b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3597,6 +3597,15 @@ two hashes.")
It is a low-dependency variant of ruby-hydra.")
(license license:expat))))
+;; Pinned variant for use by texlive
+(define-public ruby-hydra-minimal/pinned
+ (hidden-package
+ (package
+ (inherit ruby-hydra-minimal)
+ (arguments
+ (cons* #:ruby ruby-2.7
+ (package-arguments ruby-hydra-minimal))))))
+
(define-public ruby-hydra
(package
(inherit ruby-hydra-minimal)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6c055ed0cd..65f8d901d7 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -236,7 +236,7 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
(string-append "File.join(\"" ptex "\"")))
(invoke "ruby" "generate-ptex-patterns.rb")))))))))
(native-inputs
- (list ruby-2.7 ruby-hydra-minimal hyph-utf8-scripts))
+ (list ruby-2.7 ruby-hydra-minimal/pinned hyph-utf8-scripts))
(home-page "https://ctan.org/pkg/hyph-utf8"))))
(define texlive-extra-src