From 4bbbb58cb537014dd8b0b3c3c560c039ac57ad89 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 21 Feb 2020 12:47:29 +0000 Subject: chore: Rename pkgs->depot in all Nix file headers --- web/blog/default.nix | 6 +++--- web/blog/fragments.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'web/blog') diff --git a/web/blog/default.nix b/web/blog/default.nix index a8e48a9d6888..d2f04aaea574 100644 --- a/web/blog/default.nix +++ b/web/blog/default.nix @@ -2,9 +2,9 @@ # files in this repository. # # All blog posts are rendered from Markdown by cheddar. -{ pkgs, lib, ... }@args: +{ depot, lib, ... }@args: -with pkgs.nix.yants; +with depot.nix.yants; let inherit (builtins) filter hasAttr map; @@ -33,7 +33,7 @@ let posts = list post (import ./posts.nix); fragments = import ./fragments.nix args; - rendered = pkgs.third_party.runCommandNoCC "tazjins-blog" {} '' + rendered = depot.third_party.runCommandNoCC "tazjins-blog" {} '' mkdir -p $out ${lib.concatStringsSep "\n" (map (post: diff --git a/web/blog/fragments.nix b/web/blog/fragments.nix index b13ba20c6699..18416e4c4d29 100644 --- a/web/blog/fragments.nix +++ b/web/blog/fragments.nix @@ -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 '' >> $out cat ${toFile "footer.html" footer} >> $out -- cgit 1.4.1