I'm trying to make a 'speedbar' layer that uses projectile-speedbar. The problem is projectile-speedbar won't compile unless sr-speedbar has already been compiled. Since spacemakes compiles the packages in alphabetical order, it tries to compile projectile-speedbar first and I get an error.
I have a packages.el for my layer in .emacs.d/private/speedbar:
(defvar speedbar-packages '(sr-speedbar projectile-speedbar)) (defun speedbar/init-sr-speedbar () (use-package sr-speedbar)) (defun speedbar/init-projectile-speedbar () (use-package projectile-speedbar :config (spacemacs/set-leader-keys "ft" 'projectile-speedbar-toggle)))
Is it possible to set this layer up so the sr-speedbar dependency is compiled first?