Hello!
I just found out that to have a usable TeXLive, one isn't supposed to
installed the `texlive-*' packages directly. Instead, one should add
something like the following, say, to `all-packages.nix':
texLiveFull =
texLiveAggregationFun { paths = [ texLive texLiveExtra
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ludovic Courtès wrote:
> Can't we instead solve that by doing the job of `texLiveAggregationFun',
> i.e., collecting things in a single directory, in each package's
> `postInstall'? That is, `texlive-{core,beamer,extra}' would install
> cls/sty files
No, you shouldn't add a line to all-packages.nix. This file is overloaded
anyway.
Here's what I do in such cases. I create a new file in ~/.nix-defexpr,
in this case called texlive.nix (alternatively, you could have one file
there and include all similar situations):
let
nixpkgs = (import ./ni
Michael Raskin wrote:
> Ludovic Courtès wrote:
>> Can't we instead solve that by doing the job of `texLiveAggregationFun',
>> i.e., collecting things in a single directory, in each package's
>> `postInstall'? That is, `texlive-{core,beamer,extra}' would install
>> cls/sty files under "$out/share/
> Simply setting $TEXINPUTS doesn't work? I don't think the ls-R (kpathsea)
> files
> have to be up to date with respect to files in other directory trees, at
> least,
> with teTeX it was never an issue.
I don't think ls-R files are the main point. There are fontmap files,
and potentially even