fix(docs): adjust script to overlay changes

This commit is contained in:
matt1432 2025-03-05 23:22:06 -05:00
parent 94bb2f6089
commit 138a6637e2
7 changed files with 9 additions and 5 deletions
apps/gen-docs

View file

@ -2,7 +2,7 @@ attr: selfPath: let
inherit (builtins) currentSystem getFlake mapAttrs removeAttrs replaceStrings;
self = getFlake selfPath;
scopes = import "${selfPath}/${attr}" {description = true;};
scopes = ((import "${selfPath}/${attr}" {description = true;}) {} {}).scopedPackages;
trimNewlines = s: replaceStrings ["\n"] [" "] s;
in {