chore: Rename pkgs->depot in all Nix file headers
This commit is contained in:
parent
5d9d84f4cf
commit
4bbbb58cb5
113 changed files with 318 additions and 349 deletions
|
|
@ -6,11 +6,11 @@
|
|||
# fragments together in a runCommand execution.
|
||||
#
|
||||
# The post index is generated by //web/homepage, not by this code.
|
||||
{ pkgs, lib, ... }:
|
||||
{ depot, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (builtins) filter map hasAttr replaceStrings toFile;
|
||||
inherit (pkgs.third_party) runCommandNoCC writeText;
|
||||
inherit (depot.third_party) runCommandNoCC writeText;
|
||||
|
||||
# Generate a post list for all listed, non-draft posts.
|
||||
isDraft = post: (hasAttr "draft" post) && post.draft;
|
||||
|
|
@ -86,7 +86,7 @@ let
|
|||
}
|
||||
|
||||
# Write the actual post through cheddar's about-filter mechanism
|
||||
cat ${post.content} | ${pkgs.tools.cheddar}/bin/cheddar --about-filter ${post.content} >> $out
|
||||
cat ${post.content} | ${depot.tools.cheddar}/bin/cheddar --about-filter ${post.content} >> $out
|
||||
echo '</article>' >> $out
|
||||
|
||||
cat ${toFile "footer.html" footer} >> $out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue