summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngar <ingar@onionmail.info>2025-02-27 15:48:56 +0100
committerRomain GARBAGE <romain.garbage@inria.fr>2025-03-04 11:30:34 +0100
commitbc9fba5b2e515ae36a6b4b979545a053dc374221 (patch)
tree80b4c376ee3b54ce7f8e75b414b2332d9d7c5fec
parentacfe946160c69d2b16d9c744e7a3a877f9a0fa08 (diff)
typst: Add search paths
* guix-science/packages/typst.scm: - Add 'typst package' search path - Add font search paths Signed-off-by: Romain Garbage <romain.garbage@inria.fr>
-rw-r--r--guix-science/packages/typst.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/guix-science/packages/typst.scm b/guix-science/packages/typst.scm
index b9d27da..5305f1b 100644
--- a/guix-science/packages/typst.scm
+++ b/guix-science/packages/typst.scm
@@ -124,6 +124,14 @@
124 destination))) 124 destination)))
125 shells))))))) 125 shells)))))))
126 (propagated-inputs (list openssl)) 126 (propagated-inputs (list openssl))
127 (native-search-paths
128 (list (search-path-specification
129 (variable "TYPST_PACKAGE_PATH")
130 (files '("share/typst/packages"))
131 (separator #f))
132 (search-path-specification
133 (variable "TYPST_FONT_PATHS")
134 (files '("share/fonts" "share/texmf-dist/fonts")))))
127 (home-page "https://typst.app/docs/") 135 (home-page "https://typst.app/docs/")
128 (synopsis "The command line interface for Typst") 136 (synopsis "The command line interface for Typst")
129 (description "Typst is a new markup-based typesetting system for the sciences. It is designed to be an alternative both to advanced tools like LaTeX and simpler tools like Word and Google Docs. Our goal with Typst is to build a typesetting tool that is highly capable and a pleasure to use.") 137 (description "Typst is a new markup-based typesetting system for the sciences. It is designed to be an alternative both to advanced tools like LaTeX and simpler tools like Word and Google Docs. Our goal with Typst is to build a typesetting tool that is highly capable and a pleasure to use.")