summaryrefslogtreecommitdiff
path: root/home/noweb
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-17 00:10:35 +0200
committerLinnnus <[email protected]>2023-10-17 00:10:35 +0200
commit92020850688cfb2f4af79f19a93f372578d56807 (patch)
tree15c26cc79311fd2c39fb22c520ead0a5eb80134a /home/noweb
parentbbde1a5fa77da35065ab548ff4bd14e39f33f753 (diff)
Install noweb
Diffstat (limited to 'home/noweb')
-rw-r--r--home/noweb/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/home/noweb/default.nix b/home/noweb/default.nix
new file mode 100644
index 0000000..b7019d4
--- /dev/null
+++ b/home/noweb/default.nix
@@ -0,0 +1,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";
+}