diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-22T18·05+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-22T18·05+0100 |
commit | c08886ab82806c4b6fde7e603d29e2f6e09935fc (patch) | |
tree | 51fb2ec3a4d5131c501e75b19e68f7be5405e2d7 | |
parent | fe7fb8eff4ab07be0e669d28a928a5519c77492e (diff) |
fix(tools/emacs): Use explicit includes r/812
-rw-r--r-- | tools/emacs/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix index 4adc71a5a74f..5f1eb29c8380 100644 --- a/tools/emacs/default.nix +++ b/tools/emacs/default.nix @@ -7,13 +7,11 @@ # Forcing Emacs to link against Imagemagick currently causes libvterm # to segfault, which is a lot less desirable than not having telega # render images correctly. -{ depot, ... }: - -with depot; -with third_party.emacsPackages; -with third_party.emacs; +{ depot, lib, ... }: let + inherit (depot) third_party; + emacsWithPackages = (third_party.emacsPackagesGen third_party.emacs26).emacsWithPackages; # $PATH for binaries that need to be available to Emacs @@ -26,9 +24,11 @@ let (with epkgs.elpaPackages; [ ace-window avy + flymake pinentry rainbow-mode undo-tree + xelb ]) ++ # MELPA packages: @@ -47,7 +47,6 @@ let elixir-mode elm-mode erlang - flymake geiser go-mode gruber-darker-theme @@ -97,14 +96,12 @@ let web-mode websocket which-key - xelb yaml-mode yasnippet ]) ++ # Custom packages (with depot.tools.emacs-pkgs; [ - carp-mode dottime nix-util term-switcher |