emacsorphanage / req-package

dependency management system on top of use-package
GNU General Public License v3.0
152 stars 14 forks source link

Auto-fetch not working #48

Closed dustinlacewell-wk closed 6 years ago

dustinlacewell-wk commented 6 years ago

To get an isolated emacs environment I run export HOME=/tmp/fakehome I run emacs with /tmp/fakehome/.emacs.d/init.el with the following content:

(setq package-archives '(("MELPA" . "http://melpa.org/packages/")
                         ("ELPA" . "http://tromey.com/elpa/")
                         ("gnu"  . "http://elpa.gnu.org/packages/")))

(package-initialize)
(package-refresh-contents)

(package-install 'req-package)
(require 'req-package)

(req-package helm)

(req-package-finish)

I get a warning Error (use-package): Cannot load helm and the package is not downloaded.

If I add (setq use-package-always-ensure t) after (require 'req-package) then Helm is successfully installed and loaded.

edvorg commented 6 years ago

Hi. It's not an issue. Now req-package relays on use-package ensure system.