modules/files: don't include modules in the docs

This means we no longer need to spoof the module in the docs implementation.

Instead, we supply the (optional) special arg `isDocs` to `evalModules`.
This commit is contained in:
Matt Sturgeon 2024-07-05 16:39:32 +01:00
parent f5ba05ec82
commit 38d43a740f
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 26 additions and 35 deletions

View file

@ -14,6 +14,7 @@ let
specialArgs = {
inherit helpers;
defaultPkgs = pkgs;
isDocs = true;
};
};