Merge pull request #167861 from alyssais/nixos-doc-cleanSource

nixos/documentation: apply cleanSourceFilter
This commit is contained in:
Ryan Mulligan 2022-04-08 08:03:00 -07:00 committed by GitHub
commit 433236f615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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