syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.68k stars 4.89k forks source link

error loading clojure layer #11735

Closed benswift closed 5 years ago

benswift commented 5 years ago

Description :octocat:

with latest develop branch clojure layer, I get a missing package error for clojure-cheatsheet (which is apparently now integrated into CIDER as per the README)

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart:

written to *spacemacs* buffer:

Found 1 new package(s) to install...
--> installing package: clojure-cheatsheet@clojure... [1/1]
Package clojure-cheatsheet is unavailable. Is the package name misspelled?

Expected behaviour: :heart: :smile:

clojure layer (inc. cider) loads normally

System Info :computer:

jamartin9 commented 5 years ago

Refs: https://github.com/syl20bnr/spacemacs/pull/11361

0atman commented 5 years ago

This is an important fix, as currently this package tries to get installed every startup, which means the package lists are refreshed every startup, which blocks the UI. Thank you! :+1:

0atman commented 5 years ago

The workaround for this, if anyone came here to find one, is to add this to your dotspacemacs/layers function:

   ...
   dotspacemacs-configuration-layers
   '((clojure :packages (not clojure-cheatsheet))
benswift commented 5 years ago

Great, thanks - that's the workaround I had been using 🙂

sdwolfz commented 5 years ago

Should be fixed in develop now.