summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-14 22:12:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-15 13:05:22 +0100
commita1b4d62cda12d0d54663700a3f384f8a8ad5b13d (patch)
treedaf2f81757723763ce1e5a93d47e7bc5c28fd9c9 /gnu/packages/tex.scm
parent476f7fceb7be08d9302e06d808a5d226a3dfd2a2 (diff)
downloadguix-a1b4d62cda12d0d54663700a3f384f8a8ad5b13d.tar.gz
gnu: texlive-bin: Add native search paths.
* gnu/packages/tex.scm (texlive-bin)[native-search-paths]: Add specifications
for TEXMF and TEXMFCNF.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a9eed006bb..b8b78e2384 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -230,6 +230,15 @@
               (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))
               (with-directory-excursion out
                 (patch-source-shebangs))))))))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "TEXMF")
+           (files '("share/texmf-dist"))
+           (separator #f))
+          (search-path-specification
+           (variable "TEXMFCNF")
+           (files '("share/texmf-dist/web2c"))
+           (separator #f))))
    (synopsis "TeX Live, a package of the TeX typesetting system")
    (description
     "TeX Live provides a comprehensive TeX document production system.