diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-05-01T14·06+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-05-01T14·08+0200 |
commit | 5cf456e4f58b00698680afd64b150d81f7824f1e (patch) | |
tree | 3b8496907dae9625ee7c52e766077e09f1db5dc1 /emacs.nix | |
parent | f4d1bb966cae1562b2d7baba1759b25733213539 (diff) |
refactor(emacs): Install packages directly from MELPA
Never use MELPA Stable, as it's based on the assumption that authors at least occasionally tag their code (they don't).
Diffstat (limited to '')
-rw-r--r-- | emacs.nix | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/emacs.nix b/emacs.nix index 633b83be243b..98e482d79554 100644 --- a/emacs.nix +++ b/emacs.nix @@ -59,13 +59,8 @@ nix-mode = with pkgs; emacsPackagesNg.melpaBuild { }; in emacsWithPackages(epkgs: - # Pinned packages: - (with pkgs.pinnedEmacs; [ - exwm - ivy - ivy-gitlab - ivy-pass - ]) ++ + # Pinned packages (from unstable): + (with pkgs; with lib; attrValues pinnedEmacs) ++ # Actual ELPA packages (the enlightened!) (with epkgs.elpaPackages; [ @@ -79,22 +74,25 @@ in emacsWithPackages(epkgs: which-key ]) ++ - # Stable packages: - (with epkgs.melpaStablePackages; [ + # MELPA packages: + (with epkgs.melpaPackages; [ browse-kill-ring cargo dash dash-functional dockerfile-mode + edit-server + elm-mode erlang + flx flycheck go-mode gruber-darker-theme haskell-mode - helm ht idle-highlight-mode intero + kotlin-mode magit markdown-mode-plus multi-term @@ -102,27 +100,19 @@ in emacsWithPackages(epkgs: nginx-mode paredit password-store + pg racer + racket-mode rainbow-delimiters + restclient rust-mode s smart-mode-line string-edit terraform-mode - yaml-mode - ]) ++ - - # Bleeding-edge packages: - (with epkgs.melpaPackages; [ - edit-server - elm-mode - helm-pass - kotlin-mode - pg - racket-mode - restclient toml-mode uuidgen + yaml-mode ]) ++ # Custom packaged Emacs packages: |