gnu: texlive-bin: Add native search paths.
authorRicardo Wurmus <rekado@elephly.net>
Mon, 14 Jan 2019 21:12:31 +0000 (22:12 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Tue, 15 Jan 2019 12:05:22 +0000 (13:05 +0100)
* gnu/packages/tex.scm (texlive-bin)[native-search-paths]: Add specifications
for TEXMF and TEXMFCNF.

gnu/packages/tex.scm

index a9eed00..b8b78e2 100644 (file)
               (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.