From 69c741e87a9c7cadb1fc4040356e2ffe1e0aacfd Mon Sep 17 00:00:00 2001 From: Sk7Str1p3 Date: Sun, 26 Jul 2026 19:13:51 +0000 Subject: [PATCH] fix(docs): call `realPath` --- docs/docgen.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docgen.nix b/docs/docgen.nix index c81ed02..b63b181 100644 --- a/docs/docgen.nix +++ b/docs/docgen.nix @@ -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