Merge pull request #167861 from alyssais/nixos-doc-cleanSource
nixos/documentation: apply cleanSourceFilter
commit433236f6156b8ff2af09295064e4e08bbe96235c
authorRyan Mulligan <ryan@ryantm.com>
dateFri 8 Apr 2022, 08:03 (5 years ago)
parent76e2f93aeed459
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