[Nix-dev] Installing TeXLive

2008-10-09 Thread Ludovic Courtès
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

Re: [Nix-dev] Installing TeXLive

2008-10-09 Thread Michael Raskin
-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

Re: [Nix-dev] Installing TeXLive

2008-10-09 Thread Andres Loeh
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

Re: [Nix-dev] Installing TeXLive

2008-10-09 Thread Eelco Dolstra
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/

Re: [Nix-dev] Installing TeXLive

2008-10-09 Thread Andres Loeh
> 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