[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: texlive-bin: Patch references to sed and awk.
From: |
guix-commits |
Subject: |
03/09: gnu: texlive-bin: Patch references to sed and awk. |
Date: |
Tue, 11 Jan 2022 05:29:47 -0500 (EST) |
rekado pushed a commit to branch version-1.4.0
in repository guix.
commit a6499572b3cc564c197bc86d36a23ed7034944b8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 4 15:22:31 2022 +0100
gnu: texlive-bin: Patch references to sed and awk.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlive scripts in
'post-install phase to satisfy references to sed and awk.
---
gnu/packages/tex.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7f1aedaa19..f75b61a59a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -498,6 +498,14 @@ files from LOCATIONS with expected checksum HASH. CODE is
not currently in use.
source "/texlive-scripts/source/")
scripts)
+ ;; Patch them.
+ (let ((dirs (map dirname (list (which "sed") (which "awk")))))
+ (with-directory-excursion scripts
+ (substitute* '("mktexpk" "mktexmf" "mktexlsr")
+ (("^version=" m)
+ (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
+ dirs m)))))
+
;; Make sure that fmtutil can find its Perl modules.
(substitute* (string-append scripts "/fmtutil.pl")
(("\\$TEXMFROOT/")
- branch version-1.4.0 updated (b8a771d5a5 -> df77cd8968), guix-commits, 2022/01/11
- 02/09: gnu: texlive-bin: Fix directory traversal., guix-commits, 2022/01/11
- 01/09: gnu: texlive-bin: Remove trailing #T., guix-commits, 2022/01/11
- 03/09: gnu: texlive-bin: Patch references to sed and awk.,
guix-commits <=
- 06/09: gnu: Add texlive-lua-alt-getopt., guix-commits, 2022/01/11
- 05/09: gnu: texlive-latex-base: Remove trailing #T., guix-commits, 2022/01/11
- 08/09: gnu: texlive-lualibs: Take sources from TeX Live SVN., guix-commits, 2022/01/11
- 04/09: gnu: texlive-kpathsea: Patch references to sed and awk., guix-commits, 2022/01/11
- 07/09: gnu: texlive-luaotfload: Propagate texlive-lua-alt-getopt., guix-commits, 2022/01/11
- 09/09: gnu: texlive-bin: Link lualatex to luahbtex., guix-commits, 2022/01/11