summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
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/")))