nixos/documentation: apply cleanSourceFilter

This will prevent result symlinks, etc. from causing rebuilds of the
manual.
This commit is contained in:
Alyssa Ross 2022-04-08 12:19:30 +00:00
parent 77843aaf9d
commit aeed45992b
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -64,7 +64,8 @@ let
filter =
builtins.filterSource
(n: t:
(t == "directory" -> baseNameOf n != "tests")
cleanSourceFilter n t
&& (t == "directory" -> baseNameOf n != "tests")
&& (t == "file" -> hasSuffix ".nix" n)
);
in