chore(nix/renderMarkdown): Move out of //users/tazjin
Change-Id: Ia5e873420b57436abead8e02cef3e5b7149de123 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3731 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
7bde7ca995
commit
edd8680e87
3 changed files with 3 additions and 3 deletions
|
@ -6,4 +6,3 @@ with depot.nix.yants;
|
|||
defun [ path drv ] (file: pkgs.runCommandNoCC "${file}.rendered.html" {} ''
|
||||
cat ${file} | ${depot.tools.cheddar}/bin/cheddar --about-filter ${file} > $out
|
||||
'')
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
let
|
||||
inherit (builtins) filter map hasAttr replaceStrings;
|
||||
inherit (pkgs) runCommandNoCC writeText;
|
||||
inherit (depot.users.tazjin) renderMarkdown;
|
||||
inherit (depot.nix) renderMarkdown;
|
||||
|
||||
# Generate a post list for all listed, non-draft posts.
|
||||
isDraft = post: (hasAttr "draft" post) && post.draft;
|
||||
|
|
|
@ -7,8 +7,9 @@ let
|
|||
inherit (builtins) map readFile sort foldl';
|
||||
inherit (lib) max singleton;
|
||||
inherit (pkgs) writeText;
|
||||
inherit (depot.nix) renderMarkdown;
|
||||
inherit (depot.users.tazjin) blog;
|
||||
inherit (depot.web) atom-feed;
|
||||
inherit (depot.users.tazjin) blog renderMarkdown;
|
||||
|
||||
postToEntry = defun [ blog.post atom-feed.entry ] (post: rec {
|
||||
id = "https://tazj.in/blog/${post.key}";
|
||||
|
|
Loading…
Reference in a new issue