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.69k stars 4.89k forks source link

configuration-layer--elpa-archives is set but not work #10268

Closed lsytj0413 closed 6 years ago

lsytj0413 commented 6 years ago

Description :octocat:

configuration-layer--elpa-archives is set but not work

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: refreshing package archive from melpa, org and gnu

Expected behaviour: :heart: :smile: refreshing package archive from configuration-layer--elpa-archives

System Info :computer:

Backtrace :paw_prints:

<<BACKTRACE IF RELEVANT>>

configuration-layer--elpa-archives

  (setq-default configuration-layer--elpa-archives
                '(("melpa-cn" . "http://elpa.emacs-china.org/melpa/")
                  ("org-cn" . "http://elpa.emacs-china.org/org/")
                  ("gnu-cn" . "http://elpa.emacs-china.org/gnu/")
                  ("marmalade-cn" . "http://elpa.emacs-china.org/marmalade/")
                  ("user42-cn" . "http://elpa.emacs-china.org/user42/")
                  ("melpa-stable-cn" . "http://elpa.emacs-china.org/melpa-stable/")
                  ("sunrise-commander-cn" . "http://elpa.emacs-china.org/sunrise-commander/")
                  )
                )
  (setq-default package-archives configuration-layer--elpa-archives)
y-usuzumi commented 6 years ago

Got bit by this months ago. If you are using the develop branch, then use configuration-layer-elpa-archives instead.

lsytj0413 commented 6 years ago

@y-usuzumi 3ks