diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 68a3419..19859eb 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -35,12 +35,14 @@ (require 'cl) (require 'package) +;; accessing a package repo over https on Windows is a no go, so we +;; fallback to http there (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) - ) + '("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)