diff --git a/core/prelude-packages.el b/core/prelude-packages.el index e5d805b..68a3419 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -35,8 +35,12 @@ (require 'cl) (require 'package) -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/") t) +(if (eq system-type 'windows-nt) + (add-to-list 'package-archives + '("melpa" . "http://melpa.org/packages/") t) + (add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/") t) + ) ;; set package-user-dir to be relative to Prelude install path (setq package-user-dir (expand-file-name "elpa" prelude-dir)) (package-initialize)