From d02c49646e61d60de18fcf48f6a5f139035fa867 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 23 Oct 2017 20:52:45 +0200 Subject: Emacs: Keep package-archives even in nix-emacs --- emacs/.emacs.d/main.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'emacs') 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) -- cgit 1.4.1