From cd8c1a8e5d2416e05110515cdcee2e5e3d674b4e Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 6 Apr 2023 07:00:37 +0300 Subject: [PATCH] fix --- pkgs-lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (