From 87f1e15baa5491dcfd1b66102909d1ba1b75c175 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 1 Dec 2020 13:16:56 +0100 Subject: [PATCH] chore(writeElispBin): Move from //overrides to //nix ... some legacy cleanup ... Change-Id: I9e73451256f842e75ddbf1382badaf06c775c755 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2212 Tested-by: BuildkiteCI Reviewed-by: tazjin --- {overrides => nix}/writeElispBin/default.nix | 2 +- users/tazjin/aoc2019/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {overrides => nix}/writeElispBin/default.nix (86%) diff --git a/overrides/writeElispBin/default.nix b/nix/writeElispBin/default.nix similarity index 86% rename from overrides/writeElispBin/default.nix rename to nix/writeElispBin/default.nix index 1b3ba0544..c116607e0 100644 --- a/overrides/writeElispBin/default.nix +++ b/nix/writeElispBin/default.nix @@ -1,6 +1,6 @@ { depot, pkgs, ... }: -{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }: +{ name, src, deps ? (_: []), emacs ? pkgs.emacs27-nox }: let inherit (pkgs) emacsPackages emacsPackagesGen; diff --git a/users/tazjin/aoc2019/default.nix b/users/tazjin/aoc2019/default.nix index 5f1f248c5..ce3146d1f 100644 --- a/users/tazjin/aoc2019/default.nix +++ b/users/tazjin/aoc2019/default.nix @@ -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 = depot.writeElispBin { # TODO(tazjin): move writeElispBin to depot.nix + value = depot.nix.writeElispBin { name = "aoc2019"; deps = p: with p; [ dash s ht ]; src = ./. + ("/" + f);