diff options
| author | Erik Martin-Dorel | 2020-12-06 14:36:10 +0100 |
|---|---|---|
| committer | Erik Martin-Dorel | 2020-12-06 14:36:10 +0100 |
| commit | 9830d357463d98255519f5bc271243ff7329d05a (patch) | |
| tree | 114c2b071a3832584dd3d9b77f92297bf546492e /ci/init-tests.el | |
| parent | 7e5605b1c74e8341867a3ffdc205770293cb88a6 (diff) | |
refactor: Simplify ci/init-tests.el
Diffstat (limited to 'ci/init-tests.el')
| -rw-r--r-- | ci/init-tests.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ci/init-tests.el b/ci/init-tests.el index 4f40c295..ade70cce 100644 --- a/ci/init-tests.el +++ b/ci/init-tests.el @@ -10,11 +10,7 @@ ;; Setup MELPA (require 'package) (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") -(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) - (not (gnutls-available-p)))) - (proto (if no-ssl "http" "https"))) - (add-to-list 'package-archives - (cons "melpa" (concat proto "://melpa.org/packages/")) t)) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) ;; Optionally: bootstrap use-package for declarative package specs |
