diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-03 10:57:42 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:16:46 +0200 |
commit | 32f9cb3e6bdd3b75218c247ee2176ef936b8189b (patch) | |
tree | baa54280abecd70f3f8a4ba41491dab1e6ca83e6 /gnu | |
parent | 7e30fd530eb2d803bebe57901e252bb3148b634e (diff) | |
download | guix-32f9cb3e6bdd3b75218c247ee2176ef936b8189b.tar.gz |
gnu: texlive-context: Fix package.
* gnu/packages/tex.scm (texlive-context)[source]: Do not fetch third-party Lua scripts. [arguments]<#:phases>: Create additional symlinks.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 71 |
1 files changed, 67 insertions, 4 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index fa7db3c180..e32eb24fe7 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12740,16 +12740,79 @@ a counter to be reset when another is incremented) and "metapost/context/base/mpiv/" "metapost/context/base/mpxl/" "metapost/context/fonts/mpiv/" - "scripts/context/lua/" - "scripts/context/perl/" + "scripts/context/lua/context.lua" + "scripts/context/lua/mtx-babel.lua" + "scripts/context/lua/mtx-base.lua" + "scripts/context/lua/mtx-bibtex.lua" + "scripts/context/lua/mtx-cache.lua" + "scripts/context/lua/mtx-chars.lua" + "scripts/context/lua/mtx-check.lua" + "scripts/context/lua/mtx-colors.lua" + "scripts/context/lua/mtx-context.lua" + "scripts/context/lua/mtx-context.xml" + "scripts/context/lua/mtx-convert.lua" + "scripts/context/lua/mtx-ctan.lua" + "scripts/context/lua/mtx-dvi.lua" + "scripts/context/lua/mtx-epub.lua" + "scripts/context/lua/mtx-evohome.lua" + "scripts/context/lua/mtx-fcd.lua" + "scripts/context/lua/mtx-flac.lua" + "scripts/context/lua/mtx-fonts.lua" + "scripts/context/lua/mtx-grep.lua" + "scripts/context/lua/mtx-install.lua" + "scripts/context/lua/mtx-interface.lua" + "scripts/context/lua/mtx-kpse.lua" + "scripts/context/lua/mtx-metapost.lua" + "scripts/context/lua/mtx-mk-help.lua" + "scripts/context/lua/mtx-modules.lua" + "scripts/context/lua/mtx-package.lua" + "scripts/context/lua/mtx-patterns.lua" + "scripts/context/lua/mtx-pdf.lua" + "scripts/context/lua/mtx-plain.lua" + "scripts/context/lua/mtx-profile.lua" + "scripts/context/lua/mtx-rsync.lua" + "scripts/context/lua/mtx-scite.lua" + "scripts/context/lua/mtx-server-ctx-fonttest.lua" + "scripts/context/lua/mtx-server-ctx-help.lua" + "scripts/context/lua/mtx-server-ctx-startup.lua" + "scripts/context/lua/mtx-server.lua" + "scripts/context/lua/mtx-spell.lua" + "scripts/context/lua/mtx-synctex.lua" + "scripts/context/lua/mtx-texworks.lua" + "scripts/context/lua/mtx-tools.lua" + "scripts/context/lua/mtx-unicode.lua" + "scripts/context/lua/mtx-unzip.lua" + "scripts/context/lua/mtx-update.lua" + "scripts/context/lua/mtx-vscode.lua" + "scripts/context/lua/mtx-watch.lua" + "scripts/context/lua/mtx-youless.lua" + "scripts/context/lua/mtxlibs.lua" + "scripts/context/lua/mtxrun.lua" + "scripts/context/perl/makempy.pl" + "scripts/context/perl/path_tre.pm" + "scripts/context/perl/pdftrimwhite.pl" + "scripts/context/perl/texfind.pl" + "scripts/context/perl/texfont.pl" "tex/context/" "tex/generic/context/luatex/" "tex/latex/context/ppchtex/") (base32 - "05w9pc0xkralkqsh2zzrisrcyf1rkwmv5chyhmn8vlddckhknxkn"))) + "0v452m4qi0963crr2fv211fi3a4c74l6b9p8brkcfg29fif7a846"))) (outputs '("out" "doc")) (build-system texlive-build-system) - (arguments (list #:link-scripts #~(list "context.lua" "mtxrun.lua"))) + (arguments + (list + #:link-scripts #~(list "context.lua" "mtxrun.lua") + #:phases + #~(modify-phases %standard-phases + (add-after 'link-scripts 'add-symlinks + (lambda _ + (with-directory-excursion (string-append #$output "/bin") + (symlink "../share/texmf-dist/scripts/context/lua/context.lua" + "context.lua") + (symlink "../share/texmf-dist/scripts/context/lua/mtxrun.lua" + "mtxrun.lua") + (symlink "mtxrun" "luametatex"))))))) (propagated-inputs (list texlive-amsfonts texlive-lm |