summaryrefslogtreecommitdiff
path: root/home/noweb/default.nix
blob: b7019d4a24272a41eaae67c82036fd73f81b406f (plain)
1
2
3
4
5
6
7
8
{pkgs, ...}: {
  home.packages = with pkgs; [noweb texlive.combined.scheme-small];

  # Prepend nowebs STY files to the search path. I chose to do it globally,
  # rather than using `makeWrapper` because I sometimes want to manually invoke
  # `pdflatex` and the like on the output of `nowave`.
  home.sessionVariables.TEXINPUTS = "${pkgs.noweb.tex}/tex/latex/noweb/:$TEXINPUTS";
}