summaryrefslogtreecommitdiff
path: root/shared/home-manager/noweb/default.nix
blob: 150643150ef1c20fbddb65038f50209db24afc4c (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; [
    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";
}