about summary refs log tree commit diff
path: root/fun/aoc2019
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T12·47+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T13·54+0000
commit4bbbb58cb537014dd8b0b3c3c560c039ac57ad89 (patch)
treeffd6c2c6758f655801ea6497b3dd9d2f2d04ebc9 /fun/aoc2019
parent5d9d84f4cfdbed049e71ce6f15bb1ad8650f7acf (diff)
chore: Rename pkgs->depot in all Nix file headers r/559
Diffstat (limited to 'fun/aoc2019')
-rw-r--r--fun/aoc2019/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/fun/aoc2019/default.nix b/fun/aoc2019/default.nix
index a53586eea9..5f1f248c50 100644
--- a/fun/aoc2019/default.nix
+++ b/fun/aoc2019/default.nix
@@ -1,7 +1,7 @@
 # Solutions for Advent of Code 2019, written in Emacs Lisp.
 #
 # For each day a new file is created as "solution-day$n.el".
-{ pkgs, ... }:
+{ depot, ... }:
 
 let
   inherit (builtins) attrNames filter head listToAttrs match readDir;
@@ -13,7 +13,7 @@ let
   solutionFiles = filter (e: dir."${e}" == "regular" && isSolution e) (attrNames dir);
   solutions = map (f: let day = getDay f; in {
     name = day;
-    value = pkgs.writeElispBin {
+    value = depot.writeElispBin { # TODO(tazjin): move writeElispBin to depot.nix
       name = "aoc2019";
       deps = p: with p; [ dash s ht ];
       src = ./. + ("/" + f);