system wide local packages
fckolle opened this issue · comments
fckolle commented
Description
Please make typst look in /usr/share/
or something for packages aswell, not only user folder.
I am developing a typst package, that should be installable company-wide via pacman. We have an internal repository for sharing packages this way. I cannot install into user folders though.
tingerrr commented
You might be interested in typst#3892, specifically an option to set the package directories without having to set the XDG variables.
If your colleagues use Typst as a cli, they can wrap Typst in a shell script that sets the variables only for Typst.
Laurenz commented
I'll close this in favor of the linked issue, as it is more about the compiler than the package repository.