1
0

doc: filter src attribute to not rebuild as much

This commit is contained in:
Daniel Barlow 2025-03-10 23:08:37 +00:00
parent 9dc0f25587
commit f22237a3b3

7
ci.nix
View File

@ -56,7 +56,12 @@ let
fennel
luaPackages.lyaml
];
src = ./.;
src = pkgs.lib.sources.sourceFilesBySuffices
(pkgs.lib.cleanSource ./. ) [
".nix" ".rst" "Makefile" ".svg" ".fnl" ".py"
];
buildPhase = ''
cat ${json} | fennel --correlate doc/parse-options.fnl > doc/modules-generated.inc.rst
cat ${json} | fennel --correlate doc/parse-options-outputs.fnl > doc/outputs-generated.inc.rst