summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2022-04-08 08:03:00 -0700
committerGitHub <noreply@github.com>2022-04-08 08:03:00 -0700
commit433236f6156b8ff2af09295064e4e08bbe96235c (patch)
tree4806dab041047db623a8c9ced5c762fd3f593ae7
parent76e2f93d1a7a1adf778bbe29d081a7834c0db4bc (diff)
parentaeed45992b25409ec06bdcbabd97fc45ca080b5b (diff)
downloadnixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar.gz
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar.bz2
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar.lz
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar.xz
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.tar.zst
nixpkgs-433236f6156b8ff2af09295064e4e08bbe96235c.zip
Merge pull request #167861 from alyssais/nixos-doc-cleanSource
nixos/documentation: apply cleanSourceFilter
-rw-r--r--nixos/modules/misc/documentation.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index 9304c307af2..8e28d3336fa 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