diff options
author | Alan Pearce | 2017-10-23 20:52:45 +0200 |
---|---|---|
committer | Alan Pearce | 2017-10-28 12:14:30 +0200 |
commit | d02c49646e61d60de18fcf48f6a5f139035fa867 (patch) | |
tree | 9bdec513d985735ae7e88fd90f0378e2362bc134 | |
parent | 55768649c8571f05eeac96f9ab1038ddc9721f4c (diff) | |
download | nixfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.tar.lz nixfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.tar.zst nixfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.zip |
Emacs: Keep package-archives even in nix-emacs
-rw-r--r-- | emacs/.emacs.d/main.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index abec6f4d..5ee54d07 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -62,12 +62,12 @@ gnutls-verify-error t package-menu-async t package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa") - package-menu-hide-low-priority t) + package-menu-hide-low-priority t + package-archives '(("gnu" . "https://elpa.gnu.org/packages/") + ("melpa-stable" . "https://stable.melpa.org/packages/") + ("melpa" . "https://melpa.org/packages/"))) (unless nix-emacs - (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") - ("melpa-stable" . "https://stable.melpa.org/packages/") - ("melpa" . "https://melpa.org/packages/")) - package-pinned-packages '(("use-package" . melpa-stable) + (setq package-pinned-packages '(("use-package" . melpa-stable) ("diminish" . melpa-stable) ("bind-key" . melpa-stable)) package-archive-priorities '(("melpa" . 10) |