Skip to content
Jimmy Yuen Ho Wong edited this page Dec 13, 2025 · 4 revisions

Recipe

zmq will download a binary from Github upon first installation when the Emacs module isn't found on disk and when a precompiled binary is available. Many corporate security monitoring systems will flag this as suspicious malware behavior, in such a case, you'll have to compile the module yourself during installation.

(use-package zmq
  :ensure `(zmq :pre-build
                ,(let ((emacs (elpaca--emacs-path)))
                   (list "make" "-e" (when emacs (concat "EMACS=" emacs))))
                :post-build
                ,(let* ((recipe (elpaca<-recipe (elpaca<-create 'zmq)))
                        (repo-dir (elpaca-repo-dir recipe))
                        (build-dir (elpaca-build-dir recipe))
                        (module-file-name (format "emacs-zmq%s" module-file-suffix))
                        (src (file-name-concat repo-dir module-file-name))
                        (dest (file-name-concat build-dir module-file-name)))
                   `(make-symbolic-link ,src ,dest))))

Clone this wiki locally