Filter source for cletex2 package

This commit is contained in:
clerie 2024-03-27 23:21:30 +01:00
parent 44e31a0204
commit c575bcb62f

View File

@ -14,7 +14,14 @@
outputs = [ "out" "tex" ]; outputs = [ "out" "tex" ];
src = ./.; # Only include files that are required for the LaTeX
# package so we avoid unnecassary TeX env rebuilds on
# changing other parts of the repo like the Nix
# infrastructure
src = pkgs.lib.sources.sourceByRegex ./. [
"^build.lua$"
"^tex/.*$"
];
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
(texlive.withPackages (ps: with ps; [ l3build ])) (texlive.withPackages (ps: with ps; [ l3build ]))