From: Ada Stevenson <adanskana@gmail.com>
To: 72869@debbugs.gnu.org
Cc: Ada Stevenson <adanskana@gmail.com>,
Andreas Enge <andreas@enge.fr>,
Nicolas Goaziou <guix@nicolasgoaziou.fr>
Subject: [bug#72869] [PATCH] gnu: texlive-digestif: Fix build.
Date: Thu, 29 Aug 2024 16:26:53 +0800 [thread overview]
Message-ID: <95a661ba4df1fe42b81dec1f054d997df60738c5.1724919903.git.adanskana@gmail.com> (raw)
* gnu/packages/tex.scm (texlive-digestif):
[arguments]: <#:phases>: Add 'fix-data-path phase.
This hardcodes the path for 'digestif.zip', which was not being found
previously.
Change-Id: I2884185d0daa8919dd72e8b9055eb3988eb40f5d
---
gnu/packages/tex.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 828bcde0e2..b94d1dd67e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -33786,7 +33786,14 @@ (define-public texlive-digestif
"1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (arguments (list #:link-scripts #~(list "digestif.texlua")))
+ (arguments (list #:link-scripts #~(list "digestif.texlua")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-data-path
+ (lambda _
+ (substitute* "scripts/digestif/digestif.texlua"
+ (("(local archive = )(.*)$" all beginning end)
+ (string-append beginning "\"" #$output "/share/texmf-dist/scripts/digestif/digestif.zip\"" "\n"))))))))
(home-page "https://ctan.org/pkg/digestif")
(synopsis "Editor plugin for LaTeX, ConTeXt etc.")
(description
base-commit: 53f1d10f089dd1bf155a95d0ba166728498972bb
--
2.45.2
next reply other threads:[~2024-08-29 8:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 8:26 Ada Stevenson [this message]
2024-08-30 8:46 ` bug#72869: [PATCH] gnu: texlive-digestif: Fix build Ludovic Courtès
2024-08-30 8:49 ` [bug#72869] " adanskana
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95a661ba4df1fe42b81dec1f054d997df60738c5.1724919903.git.adanskana@gmail.com \
--to=adanskana@gmail.com \
--cc=72869@debbugs.gnu.org \
--cc=andreas@enge.fr \
--cc=guix@nicolasgoaziou.fr \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.