diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0eacc35ea3..5c414b875c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -41866,7 +41866,16 @@ (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