fix(docs): call realPath

This commit is contained in:
Sk7Str1p3 2026-07-26 19:13:51 +00:00
parent e0270ad028
commit 69c741e87a
Signed by: Sk7Str1p3
SSH key fingerprint: SHA256:GcXqjfo0IHK280c6aH9o5SmcOWyqMS8gjfOtDQ3gr/Q

View file

@ -69,7 +69,7 @@ stdenvNoCC.mkDerivation {
if dirPart == "." then 0 else lib.length (lib.splitString "/" dirPart);
indent = lib.concatStringsSep "" (lib.genList (x: " ") depth);
isModule = (r: lib.hasPrefix "modules/os" r || lib.hasPrefix "modules/home" r) relPath;
isModule = (r: lib.hasPrefix "modules/os" r || lib.hasPrefix "modules/home" r) (relPath file);
modulesEval = lib.evalModules {
modules = [
file