summaryrefslogtreecommitdiff
path: root/hosts/muhammed/home/noweb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/muhammed/home/noweb/default.nix')
-rw-r--r--hosts/muhammed/home/noweb/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/muhammed/home/noweb/default.nix b/hosts/muhammed/home/noweb/default.nix
new file mode 100644
index 0000000..ef67862
--- /dev/null
+++ b/hosts/muhammed/home/noweb/default.nix
@@ -0,0 +1,12 @@
+{pkgs, ...}: {
+ home.packages = with pkgs; [
+ noweb
+ texliveFull
+ yalafi-shell
+ ];
+
+ # 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";
+}