Hello, I am working on packaging ConTeXt for NixOS, where the package manager enforces an "immutable installation model": every package must be installed under a read-only directory, chosen by the system (something like /nix/store/<hash>-<name>-<version>); let's call it OUTDIR. After installation: - OUTDIR is read-only, - executables must live in OUTDIR/bin, - all support files must also remain under OUTDIR.
Following the "Manual Compilation" instructions from the wiki, I installed the tree into OUTDIR/tex. And, since Nix expects binaries in OUTDIR/bin, I symlinked the executables from OUTDIR/tex/texmf-linux-64/bin/ to there. To make them find their configuration and data files, I manually adjusted their SELFAUTOPATH to point to OUTDIR/tex. So far both context and mtxrun seem to work as expected. Do you see any risk of problems down the line with this installation? In particular, given that I manually changed SELFAUTOPATH (and nothing else), and that the tree is being installed as read-only? Thank you for your time, Gabriel ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________