Commit 1baf57f3 authored by Robert Hensing's avatar Robert Hensing
Browse files

nixos/modules/docs: fix documentation build

Include the moved-out modular service infrastructure into the set of
files to evaluate during the docs build.
This was previously unnecessary because even the portable parts were
stored inside the nixos tree.
parent a338deb8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -116,7 +116,10 @@ let
          && (t == "directory" -> baseNameOf n != "tests")
          && (t == "file" -> hasSuffix ".nix" n)
        );
        prefixRegex = "^" + lib.strings.escapeRegex (toString pkgs.path) + "($|/(modules|nixos)($|/.*))";
        prefixRegex =
          "^"
          + lib.strings.escapeRegex (toString pkgs.path)
          + "($|/(modules|nixos|lib/services)($|/.*)|/lib)";
        filteredModules = builtins.path {
          name = "source";
          inherit (pkgs) path;