I am trying to install emacs-zmq : https://github.com/dzop/emacs-zmq .
This package is on MELPA and is easy to install, the only problem is that it depends on a custom C library, also available in the GitHub repo. When Emacs tries to lead zmq, the library helpfully suggests downloading a pre-compiled binary of the library or building it from scratch, but then it tries to do it in the Nix store and obviously fails.
Is anyone of you using emacs-zmq? How would you go about packaging/installing a MELPA package with a binary dependency, which can also be built from source?
I am looking at emacs-packages.nix in the nixpkgs repo, but any additional pointers would be very helpful.
P.S. I’ve seen this issue https://github.com/NixOS/nixpkgs/issues/59774 , but nobody seems to have answered.