summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-10-23 20:52:45 +0200
committerAlan Pearce2017-10-28 12:14:30 +0200
commitd02c49646e61d60de18fcf48f6a5f139035fa867 (patch)
tree9bdec513d985735ae7e88fd90f0378e2362bc134 /emacs
parent55768649c8571f05eeac96f9ab1038ddc9721f4c (diff)
downloaddotfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.tar.lz
dotfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.tar.zst
dotfiles-d02c49646e61d60de18fcf48f6a5f139035fa867.zip
Emacs: Keep package-archives even in nix-emacs
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index abec6f4..5ee54d0 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)