nixos/documentation: apply cleanSourceFilter
This will prevent result symlinks, etc. from causing rebuilds of the manual.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user