`nix-env -qaP | grep texlive` shows available texlive packages.
You can use one of the packages shown there, or combine your own
`texlive.combined`.
I typically use `texlive.combined.scheme-full`, so `nix-env -iA
nixos.texlive.combined.scheme-full`.

See also the docs: http://nixos.org/nixpkgs/manual/#sec-language-texlive


On Sat, Nov 5, 2016 at 4:20 PM, laverne <[email protected]> wrote:

> How do I install LaTeX on NixOS 16.09?
>
> On 16.03, one could do `nix-env -iA nixos.texLive` to get it, but that
> entry is not in all-packages.nix anymore.
>
> I took a stab at installing it with `nix-env -iA nixos.texlive.combined`.
> This churned for a long time and finally finished with this message
>
> building path(s) ‘/nix/store/5avvm3s8mk8cvc8nr747mk589gs840
> lk-user-environment’
> Wide character in die at /nix/store/64jc9gd2rkbgdb4yjx3
> nrgc91bpjj5ky-buildenv.pl line 79.
> collision between ‘/nix/store/2qm57v930xbqn9yv98z9a7z5vlf6r3
> xw-texlive-combined-small-2016/bin/afm2pl’ and ‘/nix/store/
> 09662ys1scadjh7rha4iwli6yxhpvmc9-texlive-combined-context-2016/bin/afm2pl’;
> use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of
> one of the conflicting packages
> builder for ‘/nix/store/g44z1cy57bqa9kflrw9l75n06rfm5pq8-user-environment.drv’
> failed with exit code 255
> error: build of 
> ‘/nix/store/g44z1cy57bqa9kflrw9l75n06rfm5pq8-user-environment.drv’
> failed
>
> I think that this is the wrong way to install what I want, but if it is,
> how does one resolve this issue?
>
> Thanks,
> Laverne
>
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to