nixos/documentation: apply cleanSourceFilter
This will prevent result symlinks, etc. from causing rebuilds of the
manual.
commitaeed45992b25409ec06bdcbabd97fc45ca080b5b
authorAlyssa Ross <hi@alyssa.is>
dateFri 8 Apr 2022, 12:19 (5 years ago)
parent77843aa
nixos/modules/misc/documentation.nix+2−1
@@ -64,7 +64,8 @@ let
6464 filter =
6565 builtins.filterSource
6666 (n: t:
67− (t == "directory" -> baseNameOf n != "tests")
67+ cleanSourceFilter n t
68+ && (t == "directory" -> baseNameOf n != "tests")
6869 && (t == "file" -> hasSuffix ".nix" n)
6970 );
7071 in