summaryrefslogtreecommitdiff
path: root/shared/home-manager/noweb/default.nix
blob: 72a1568b1d808b5a7be601519aeb6dba1c6b8cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{pkgs, ...}: {
  home.packages = with pkgs; [
    noweb
    texliveFull
    yalafi-shell
  ];

  programs.neovim.plugins = with pkgs.vimPlugins; [
    vim-noweb
  ];

  # 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 `noweave`.
  home.sessionVariables.TEXINPUTS = "${pkgs.noweb.tex}/tex/latex/noweb/:$TEXINPUTS";
}