all repos — archive/dotfiles @ d02c49646e61d60de18fcf48f6a5f139035fa867

Superseded by nixfiles

Emacs: Keep package-archives even in nix-emacs
Alan Pearce alan@alanpearce.eu
Mon, 23 Oct 2017 20:52:45 +0200
commit

d02c49646e61d60de18fcf48f6a5f139035fa867

parent

55768649c8571f05eeac96f9ab1038ddc9721f4c

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -62,12 +62,12 @@ (setq tls-checktrust t         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)