nixos/documentation: apply cleanSourceFilter

This will prevent result symlinks, etc. from causing rebuilds of the
manual.
main
Alyssa Ross 2 years ago
parent 77843aaf9d
commit aeed45992b
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
  1. 3
      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

Loading…
Cancel
Save