I want to add a local project to the known projects by asdf, but due to the fact that asdf was installed and configured by quicklisp and the *central-registry*
The ASDF manual has in Section 3:
Since ASDF 2, the preferred way to configure where ASDF finds your systems is the source-registry facility, fully described in its own chapter of this manual. See Controlling where ASDF searches for systems.
Item 7 in Controlling where ASDF searches for systems is
The source registry will be configured from system configuration directory /etc/common-lisp/source-registry.conf.d/ if it exists.
This location is available in Debian and is what I use. By default, Debian puts the sources of downloaded CL libraries in /usr/share/common-lisp/source
. However, I don't know (though I have tried to find out) how this location is made known to ASDF.
So, you can add files with pathnames to this location, to make those pathnames known to ASDF. I've added a file, /etc/common-lisp/source-registry.conf.d/04-local.conf
, containing
(:tree #p"/usr/local/share/common-lisp/source/")
and now i can put sources of locally downloaded CL libraries in /usr/local/share/common-lisp/source/
and they will be visible to ASDL. The :tree
syntax is described in
Configuring ASDF to find your systems.
asdf:*central-registry* is now depreciated. See Subsection 3.2: Configuring ASDF to find your systems — old style.