无法为spacemacs-purpose指定packages

Description :octocat:

我想在spacemacs-purpose layer中只使用popwin,其他的packages有window-purpose,ivy-purpose的我不需要。然后在dotspacemacs-configuration-layers

 (spacemacs-purpose :packages popwin)

Observed behaviour: :eyes: :broken_heart:

但是实际情况是其他的packages也安装了,不清楚是不是因为是核心包的问题。chinese layer中使用packages keyword是生效的。

Expected behaviour: :heart::smile:

It should be just popwin installed…

System Info :computer:

OS: darwin Emacs: 25.3.2 Spacemacs: 0.200.9 Spacemacs branch: develop (rev. bd0b4ba) Graphic display: t Distribution: spacemacs Editing style: vim Completion: ivy Layers: ((pandoc :variables org-pandoc-options '((standalone . t))) dash php better-defaults (spacemacs-purpose :packages popwin) ranger colors prodigy search-engine graphviz ivy (syntax-checking :variables syntax-checking-enable-by-default nil syntax-checking-enable-tooltips nil) (spell-checking :variables spell-checking-enable-by-default nil) (auto-completion :variables auto-completion-enable-sort-by-usage t auto-completion-enable-snippets-in-popup t) (vinegar :variables vinegar-reuse-dired-buffer t) (spacemacs-layouts :variables layouts-enable-autosave nil layouts-autosave-delay 300) (git :variables git-magit-status-fullscreen t magit-push-always-verify nil magit-save-repository-buffers 'dontask magit-revert-buffers 'silent magit-refs-show-commit-count 'all magit-revision-show-gravatars nil) (ibuffer :variables ibuffer-group-buffers-by 'projects) (osx :variables osx-dictionary-dictionary-choice “Simplified Chinese - English” osx-command-as 'super) restclient (shell :variables shell-default-shell 'ansi-term) deft chrome (treemacs :variables treemacs-use-filewatch-mode t :variables treemacs-use-follow-mode t) markdown (org :variables org-want-todo-bindings t) gpu yaml react (python :variables python-test-runner '(nose pytest)) lua html javascript (typescript :variables typescript-fmt-on-save nil typescript-fmt-tool 'typescript-formatter) emacs-lisp (clojure :variables clojure-enable-fancify-symbols t) racket (c-c++ :variables c-c+±default-mode-for-headers 'c+±mode) ztlevi (chinese :packages youdao-dictionary fcitx :variables chinese-enable-fcitx t chinese-enable-youdao-dict t)) System configuration features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Thanks, guys!

你需要用 exclude

exclude就直接会删掉这个package了,但是我需要layer定义的一些pre-init, post-init的一些东西

直接抄自己配置里