diff --git a/pkgs-lib.nix b/pkgs-lib.nix index 203ad33..62d3bc2 100644 --- a/pkgs-lib.nix +++ b/pkgs-lib.nix @@ -94,7 +94,7 @@ in { postsRendered = let path = "${toString src}/posts"; in - if l.pathExists postsRendered + if l.pathExists path then l.pipe (l.readDir path) [ (l.mapAttrsToList (