From f22237a3b37ed756ca152f096cbc508e6a364246 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Mon, 10 Mar 2025 23:08:37 +0000 Subject: [PATCH] doc: filter src attribute to not rebuild as much --- ci.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci.nix b/ci.nix index 4926873..867f224 100644 --- a/ci.nix +++ b/ci.nix @@ -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