Conditional fallback for Parinfer

This commit is contained in:
2024-04-17 09:30:25 -07:00
parent 3b5e7c53fa
commit 8bc3bf8e1c

View File

@@ -1,15 +1,15 @@
(provide 'thoom-lisp)
(if (string-match "x86_64-apple" system-configuration)
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
(use-package parinfer-rust-mode
:ensure (:host
github
:repo
"justinbarclay/parinfer-rust-mode"
:ref
"8df117a3b54d9e01266a3905b132a1d082944702"))
(use-package parinfer-rust-mode :ensure t))
(use-package parinfer-rust-mode
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
:ensure (:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702")
:hook emacs-lisp-mode)
;; (use-package parinfer-rust-mode
;; ;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
;; :ensure
;; (if (string-match "x86_64-apple" system-configuration)
;; '(:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702")
;; t)
;; :hook emacs-lisp-mode)