all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72869] [PATCH] gnu: texlive-digestif: Fix build.
@ 2024-08-29  8:26 Ada Stevenson
  2024-08-30  8:46 ` bug#72869: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ada Stevenson @ 2024-08-29  8:26 UTC (permalink / raw)
  To: 72869; +Cc: Ada Stevenson, Andreas Enge, Nicolas Goaziou

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#72869: [PATCH] gnu: texlive-digestif: Fix build.
  2024-08-29  8:26 [bug#72869] [PATCH] gnu: texlive-digestif: Fix build Ada Stevenson
@ 2024-08-30  8:46 ` Ludovic Courtès
  2024-08-30  8:49   ` [bug#72869] " adanskana
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2024-08-30  8:46 UTC (permalink / raw)
  To: Ada Stevenson; +Cc: Andreas Enge, Nicolas Goaziou, 72869-done

Hi Ada,

Ada Stevenson <adanskana@gmail.com> skribis:

> * 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

Applied on ‘core-updates’ (to be merged real soon) after splitting the
long line.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#72869] [PATCH] gnu: texlive-digestif: Fix build.
  2024-08-30  8:46 ` bug#72869: " Ludovic Courtès
@ 2024-08-30  8:49   ` adanskana
  0 siblings, 0 replies; 3+ messages in thread
From: adanskana @ 2024-08-30  8:49 UTC (permalink / raw)
  To: Ludovic Courtès, 72869-done, Andreas Enge, Nicolas Goaziou

Hi Ludo',

On 30/08/2024 08:46, Ludovic Courtès <ludo@gnu.org> wrote:
> Hi Ada,
> 
> Ada Stevenson <adanskana@gmail.com> skribis:
> 
> > * 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
> 
> Applied on ‘core-updates’ (to be merged real soon) after splitting the
> long line.

Thank you! And you're welcome :)

> 
> Thanks!
> 
> Ludo’.
> 

Warmly, 

Ada




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-30  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29  8:26 [bug#72869] [PATCH] gnu: texlive-digestif: Fix build Ada Stevenson
2024-08-30  8:46 ` bug#72869: " Ludovic Courtès
2024-08-30  8:49   ` [bug#72869] " adanskana

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.