diff options
author | Ryan Mulligan <ryan@ryantm.com> | 2022-04-08 08:03:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 08:03:00 -0700 |
commit | 433236f6156b8ff2af09295064e4e08bbe96235c (patch) | |
tree | 4806dab041047db623a8c9ced5c762fd3f593ae7 | |
parent | 76e2f93d1a7a1adf778bbe29d081a7834c0db4bc (diff) | |
parent | aeed45992b25409ec06bdcbabd97fc45ca080b5b (diff) |
Merge pull request #167861 from alyssais/nixos-doc-cleanSource
nixos/documentation: apply cleanSourceFilter
-rw-r--r-- | nixos/modules/misc/documentation.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index 9304c307af2f1..8e28d3336fa42 100644 --- a/nixos/modules/misc/documentation.nix +++ b/nixos/modules/misc/documentation.nix @@ -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 |