dimitri / el-get

Manage the external elisp bits and pieces upon which you depend!
http://tapoueh.org/emacs/el-get.html
1.64k stars 457 forks source link

Prevent el-get to install dependencies when they are already in the system #2775

Closed rlaboiss closed 4 years ago

rlaboiss commented 4 years ago

I used to let el-get handle all ELisp add-on packages in my system. However, since Debian has now hundreds of elpa-* packages, I would prefer those of Debian instead of having el-get automatically installing them for me. In order to make things clearer, imagine that I installed dash through apt in my Debian system (with, say, apt install elpa-dash). Now, if I require, for instance, org-ref through el-get (with, say, (el-get-bundle og-ref)). Since dash is a dependency of org-ref, then el-get will download and install dash, even though it is already system-wide installed (in /usr/share/emacs/site-lisp/elpa/dash-2.17.0). Is there a way to prevent this?

rlaboiss commented 4 years ago

I meant org-ref above, instead of og-ref.

rlaboiss commented 4 years ago

Ok, I figured out how to do it. I defined private recipes for the Debian elpa-* packages using the method apt-get.