diff options
author | Alan Pearce | 2015-11-29 16:47:11 +0100 |
---|---|---|
committer | Alan Pearce | 2015-11-29 16:47:11 +0100 |
commit | 69559a006c28f295602d89e54c36e8463807861a (patch) | |
tree | f3ddedbd061055889566c73677e8f09110a922ec /tag-emacs | |
parent | 9e3298f5a746407b2461159d54be486ad0337864 (diff) | |
download | dotfiles-69559a006c28f295602d89e54c36e8463807861a.tar.lz dotfiles-69559a006c28f295602d89e54c36e8463807861a.tar.zst dotfiles-69559a006c28f295602d89e54c36e8463807861a.zip |
Emacs: Revert to http package fetching
Marmalade’s TLS certificate doesn’t seem to be trusted, so I can’t use it.
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index eed4b39..8e8db1c 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -32,24 +32,11 @@ the buffer to be empty. ** Use-package #+BEGIN_SRC emacs-lisp - (let ((trustfile - (replace-regexp-in-string - "\\\\" "/" - (replace-regexp-in-string - "\n" "" - (shell-command-to-string "python -m certifi"))))) - (setq tls-checktrust t - tls-program - (list - (format "gnutls-cli%s --x509cafile %s -p %%p %%h" - (if (eq window-system 'w32) ".exe" "") trustfile))) - (setq gnutls-verify-error t) - (setq gnutls-trustfiles (list trustfile))) (eval-and-compile - (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") - ("marmalade" . "https://marmalade-repo.org/packages/") - ("melpa" . "https://melpa.org/packages/") - ("melpa-stable" . "https://stable.melpa.org/packages/")) + (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") + ("marmalade" . "http://marmalade-repo.org/packages/") + ("melpa-stable" . "http://stable.melpa.org/packages/") + ("melpa" . "http://melpa.org/packages/")) package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa")) (package-initialize) (unless (package-installed-p 'use-package) |