diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-03 14:26:15 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-03 14:26:15 -0800 |
commit | 3390fc6186825c024700d84f7275a2afa60a28f1 (patch) | |
tree | 1e0b543607fc82626338dae026309715e35454f5 /emacs | |
parent | config: the package is 'chef-mode' (diff) | |
download | emacs.d-3390fc6186825c024700d84f7275a2afa60a28f1.tar.gz |
packages: configure gnuTLS' algorithms
Without that, I can't fetch packages from GNU's elpa on the mac.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 4 |
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/"))) |