From 3390fc6186825c024700d84f7275a2afa60a28f1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 14:26:15 -0800 Subject: packages: configure gnuTLS' algorithms Without that, I can't fetch packages from GNU's elpa on the mac. --- emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 0b62061..cda6770 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1,6 +1,10 @@ ;; Initialize the package system first of all. (require 'package) +;; see https://github.com/melpa/melpa/issues/7238 +;; without this I'm unable to contact melpa on macos +(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") + (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("gnu" . "https://elpa.gnu.org/packages/"))) -- cgit 1.4.1