fix: resolve emacs claude-code errors and optimize lab-tool deployments

- Fix claude-code.el quelpa installation with correct Git URL
- Make auto-compile and flycheck conditional for little-rascal
- Auto-skip checks for local machines in lab-tool for faster deployments
- Prevent emacs "Cannot load auto-compile" and "arrayp, nil" errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Geir Okkenhaug Jerstad 2025-07-03 18:31:37 +02:00
parent 6558540485
commit 649f0f3b2c
3 changed files with 16 additions and 11 deletions

View file

@ -114,7 +114,15 @@ Home lab root: ~a
(define (cmd-deploy machine-name . args)
"Deploy configuration to machine using deploy-rs"
(let* ((options (parse-deploy-options args)))
(let* ((base-options (parse-deploy-options args))
;; Auto-skip checks for local machines to speed up deployment
(local-machines '("little-rascal"))
(should-skip-checks (member machine-name local-machines))
(options (if should-skip-checks
(cons '(skip-checks . #t) base-options)
base-options)))
(when should-skip-checks
(log-info "Auto-skipping checks for local machine: ~a" machine-name))
(log-info "Deploying to machine: ~a using deploy-rs" machine-name)
(if (validate-machine-name machine-name)
(let ((result (deploy-machine machine-name "default" options)))