diff --git a/modules/tools/password-store/config.el b/modules/tools/password-store/config.el index b30d09c3e..0bc8015db 100644 --- a/modules/tools/password-store/config.el +++ b/modules/tools/password-store/config.el @@ -31,9 +31,8 @@ (cond ((version< emacs-version "26") ;; included with `pass' - (def-package! auth-password-store - :demand t - :config (auth-pass-enable))) + (require 'auth-password-store) + (auth-pass-enable)) (t ;; built into Emacs 26 (require 'auth-store-pass) diff --git a/modules/tools/password-store/packages.el b/modules/tools/password-store/packages.el index bdebe6094..867abc793 100644 --- a/modules/tools/password-store/packages.el +++ b/modules/tools/password-store/packages.el @@ -1,9 +1,11 @@ ;; -*- no-byte-compile: t; -*- ;;; tools/password-store/packages.el -(package! auth-password-store) (package! pass) (package! password-store) +(when (version< emacs-version "26") + (package! auth-password-store)) + (when (featurep! :completion helm) (package! helm-pass))