unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 64150@debbugs.gnu.org
Cc: Christopher Baines <mail@cbaines.net>,
	Christopher Baines <mail@cbaines.net>,
	Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#64150] [PATCH 05/24] gnu: texlive-hyphen-package: Use pinned ruby-hydra-minimal.
Date: Sun, 18 Jun 2023 12:28:32 +0100	[thread overview]
Message-ID: <61932bba225fd1bde719f00d356938b1fe60b232.1687087731.git.mail@cbaines.net> (raw)
In-Reply-To: <87leghko6e.fsf@cbaines.net>

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

Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/ruby.scm | 9 +++++++++
 gnu/packages/tex.scm  | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f28ad97e11..1de1d634bc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3597,6 +3597,15 @@ (define-public ruby-hydra-minimal
 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 @@ (define (texlive-hyphen-package name code locations hash)
                         (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
-- 
2.40.1





  parent reply	other threads:[~2023-06-18 11:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-18 11:23 [bug#64150] [PATCH 00/24] Various changes to support updating the default ruby Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 01/24] gnu: texlive-hyphen-package: Explicitly use ruby-2.7 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 02/24] gnu: texlive-hyph-utf8: " Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 03/24] gnu: texlive-bin: " Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 04/24] gnu: qtbase: " Christopher Baines
2023-06-18 11:28 ` Christopher Baines [this message]
2023-06-18 11:28 ` [bug#64150] [PATCH 06/24] gnu: qtwebengine-5: " Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 07/24] gnu: utf8proc-2.7.0: " Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 08/24] gnu: webkitgtk: Explicitly use ruby-2 Christopher Baines
2023-06-18 11:35   ` Liliana Marie Prikler
2023-06-18 11:49     ` Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 09/24] gnu: mkvtoolnix: Explicitly use ruby-2.7 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 10/24] gnu: ruby-yajl-ruby: Update to 1.4.3 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 11/24] gnu: ruby-tzinfo: Update to 2.0.6 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 12/24] gnu: ruby-test-unit: Update to 3.6.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 13/24] gnu: ruby-sucker-punch: Update to 3.1.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 14/24] gnu: ruby-shindo: Update to 0.3.10 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 15/24] gnu: ruby-rjb: Update to 1.6.7 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 16/24] gnu: ruby-range-compressor: Update to 1.2.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 17/24] gnu: ruby-pry-doc: Update to 1.4.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 18/24] gnu: ruby-powerpack: Update to 0.1.3 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 19/24] gnu: ruby-mkmf-lite: Update to 0.5.2 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 20/24] gnu: ruby-memory-profiler: Update to 1.0.1 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 21/24] gnu: ruby-hocon: Update to 1.4.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 22/24] gnu: ruby-debug-inspector: Update to 1.1.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 23/24] gnu: ruby-commander: Update to 4.6.0 Christopher Baines
2023-06-18 11:28 ` [bug#64150] [PATCH 24/24] gnu: bioruby: Update to 2.0.4 Christopher Baines
2023-06-20 21:20 ` bug#64150: [PATCH 00/24] Various changes to support updating the default ruby Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61932bba225fd1bde719f00d356938b1fe60b232.1687087731.git.mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=64150@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).