spacemacs

Aaron Cooley 2024-06-26T18:54:30.002979Z

Not specific to Clojure, but does anyone have a .spacemacs (or .emacs.d) that allows Spacemacs to run without checking packages? I've got a production server at work that I do a decent amount of analytics on, and I can install Emacs/Spacemacs just fine by lifting and dropping files onto the server, but the firewall is strict and access to MELPA is blocked. I've tried unsuccessfully to get MELPA unblocked, so have settled on manually dropping needed packages into .emacs.d/elpa/29.1/develop. The problem is that whenever I open Spacemacs, it tries to update packages and then hangs. I've tried to configure my .spacemacs not to check for updates, but it does so no matter what I try. TL;DR does anyone have a Spacemacs config that allows them to run it without trying to access ELPA?

practicalli-johnny 2024-06-26T19:10:24.879289Z

These two settings may help

;; If non-nil ELPA repositories are contacted via HTTPS whenever it's
   ;; possible. Set it to nil if you have no way to use HTTPS in your
   ;; environment, otherwise it is strongly recommended to let it set to t.
   ;; This variable has no effect if Emacs is launched with the parameter
   ;; `--insecure' which forces the value of this variable to nil.
   ;; (default t)
   dotspacemacs-elpa-https t

   ;; Maximum allowed time in seconds to contact an ELPA repository.
   ;; (default 5)
   dotspacemacs-elpa-timeout 5
It may also be useful to check for the https://github.com/syl20bnr/spacemacs/blob/develop/core/templates/.spacemacs.template and ensure that your .spacemacs file is up to date