mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: texlive-digestif: Fix build.
* 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 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
de96a26096
commit
6a68c61676
1 changed files with 10 additions and 1 deletions
|
@ -41866,7 +41866,16 @@ (define-public texlive-digestif
|
||||||
"1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi"))))
|
"1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi"))))
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(build-system texlive-build-system)
|
(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")
|
(home-page "https://ctan.org/pkg/digestif")
|
||||||
(synopsis "Editor plugin for LaTeX, ConTeXt etc.")
|
(synopsis "Editor plugin for LaTeX, ConTeXt etc.")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue