diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-15T22·14+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-15T22·54+0000 |
commit | 6ee061e2051af470ecd6d94ce028d48f9789a7e2 (patch) | |
tree | c1e3eb2412818c1c5352c8b7765b5a5c0977d34b /tools/emacs/default.nix | |
parent | 2bf25672846a1d73dc14f5fe1f44f612eea61250 (diff) |
refactor(emacs.d): Use dottime from my dottime package
Instead of locally advicing format-time-string, use my dottime package.
Diffstat (limited to 'tools/emacs/default.nix')
-rw-r--r-- | tools/emacs/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix index 841b3016bb50..7c494f4bc3a1 100644 --- a/tools/emacs/default.nix +++ b/tools/emacs/default.nix @@ -8,6 +8,7 @@ with third_party.emacsPackagesNg; with third_party.emacs; let + localPackages = pkgs.tools.emacs-pkgs; emacsWithPackages = (third_party.emacsPackagesNgGen third_party.emacs26).emacsWithPackages; tazjinsEmacs = (emacsWithPackages(epkgs: @@ -81,7 +82,7 @@ let ]) ++ # Custom packages - [ carp-mode ] + [ carp-mode localPackages.dottime ] )); in third_party.writeShellScriptBin "tazjins-emacs" '' exec ${tazjinsEmacs}/bin/emacs \ @@ -90,5 +91,5 @@ in third_party.writeShellScriptBin "tazjins-emacs" '' --no-site-lisp \ --no-init-file \ --directory ${./config} \ - --eval "(require 'init)" + --eval "(require 'init)" $@ '' |