From c8e75dfa2439cbd9bc5ca9a4d849d76250809dc8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 17 Jun 2023 10:18:51 +0200 Subject: guix: texlive-build-system: Add #:link-scripts argument. * doc/guix.texi (Build Systems): Document argument. * guix/build-system/texlive.scm (texlive-build): Add #:LINK-SCRIPTS argument. * guix/build/texlive-build-system.scm (link-scripts): (patch-shell-scripts): New function. (%standard-phases): Add new functions as phases. --- doc/guix.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 0339525b7d..2c460cbc08 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -10011,7 +10011,9 @@ of file names. It also generates font metrics (i.e., @file{.tfm} files) out of Metafont files whenever possible. Likewise, it can also create TeX formats (i.e., @file{.fmt} files) listed in the @code{#:create-formats} -argument. +argument, and generate a symbolic link from @file{bin/} directory to any +script located in located in @file{texmf-dist/scripts/}, provided its +file name is listed in @code{#:link-scripts} argument. The build system adds @code{texlive-bin} from @code{(gnu packages tex)} to the native inputs. It can be overridden with the -- cgit 1.4.1